23.07.2015, 22:27
I done this and it gives no errors.. But It doesnt work IG.
and this in /stats:
and when I do /stats in game, it says Faction: 70
or Faction: 77
(( I have a command so that when I do /manager it sets the faction to 1 (Manager) but in this case it still doesnt work.
Код:
if(PlayerInfo[playerid][pFaction] == 0) format(faction, sizeof(faction), "Fighter"); else if(PlayerInfo[playerid][pFaction] == 1) format(faction, sizeof(faction), "Manager"); else if(PlayerInfo[playerid][pFaction] == 2) format(faction, sizeof(faction), "Guard");
Код:
format(string, sizeof(string), "Faction: %d", faction); SendClientMessage(playerid, -1, string);
or Faction: 77
(( I have a command so that when I do /manager it sets the faction to 1 (Manager) but in this case it still doesnt work.