sheivan

Member
Trying to do something pretty simple, just so people that arent sheriff can actually ''hire'' guards

Im getting a few errors, also, the npc aren't controlled when spawned, only wandering

+ Custom/factionguards/fgc.cs:
CS1061: Line 59: 'Mobile' does not contain a definition for 'Faction' and no accessible extension method 'Faction' accepting a first argument of type 'Mobile' could be found (are you missing a using directive or an assembly reference?)
CS1061: Line 59: 'Mobile' does not contain a definition for 'Faction' and no accessible extension method 'Faction' accepting a first argument of type 'Mobile' could be found (are you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.


Thank you!
 

Attachments

  • fgc.cs
    1.8 KB · Views: 4
The mobile that it is attempting to set to the same faction as the user, does not contain a property to store a Faction type. I'm not familiar enough with Factions to help any further than that, but you could start by looking at the mobile file, to see if/how it handles Factions.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back