• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Player Flags

Dantarrix

Member
Joined
Aug 27, 2010
Messages
546
Reaction score
18
Location
Stgo, Chile
Is there any way to add or remove flags or custom flags to player by lua scripts?

Like I want the player when reach level 500 to have flag to push all creatures, i can add it with a script onAdvance... xD
 
You must create a new group, with sample player data, but other (custom) flags. See: groups.xml, and use a function:

Lua:
doPlayerSetGroupId(cid, newGroupId)
 
Oks....
I was thinking on that.... But I thought maybe someone can relase a function....
I will try with that for the moment...
But I think it can't be in another way, cause flags are managed by player goup id....
 
Back
Top