Difference between revisions of "SetPCExpelled"
Jump to navigation
Jump to search
imported>Haama m (Removing space to prevent sorting bug) |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
||
Line 18: | Line 18: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.0)]] | |||
[[Category:Faction Functions]] | [[Category:Faction Functions]] | ||
[[Category:Faction Functions (GECK 1.0)]] | |||
[[Category:Player Functions]] | [[Category:Player Functions]] | ||
[[Category:Player Functions (GECK 1.0)]] |
Revision as of 12:34, 12 August 2009
Syntax:
SetPCExpelled FactionID iFlag
Example:
SetPCExpelled MagesGuild 1
When iFlag is 1, expels the player from the specified faction, and sets the "expelled" flag to true (see GetPCExpelled). If the player is in a faction-owned cell, he will be moved outside through the nearest door.
When iFlag is 0, clears the "expelled" flag.