18.07.2013, 13:55
Ok sa I'm trying to make a /status script and I got a problem at the Faction part.
So I'm using YSI to save my accounts, on the player register they'll be automatically seted in the "Middlers" team
to skip any other useless words I'll say it directly. When the player types /status at Faction he sees the ID of the faction I defined and not the faction name. Is there any way to change that ID to with the original name or with a name? I mean can I #define Middlers "Middlers" or something like that?
So I'm using YSI to save my accounts, on the player register they'll be automatically seted in the "Middlers" team
PHP код:
#define Middler 5 //Civilans
#define Havoc 6 // Havoc
PHP код:
gTeam[playerid] = Middler;