Save team
#3

Quote:
Originally Posted by JaKe Elite
Посмотреть сообщение
PHP код:
// on aduty
SetPVarInt(playerid"my_Team"GetPlayerTeam(playerid));
// off aduty
SetPlayerTeam(playeridGetPVarInt(playerid"my_Team"));
DeletePVar(playerid"my_Team"); 
I tried that but it didn't work... This is how the teams are set so it should me like this?
PHP код:
    //SetPlayerTeam(playerid, playerData[playerid][pd_TeamId]);
SetPVarInt(playerid"my_Team",playerData[playerid][pd_TeamId] );
// when they going off duty
SetPlayerTeam(playeridGetPVarInt(playerid"Team"));
DeletePVar(playerid"my_Team"); 
Reply


Messages In This Thread
Save team - by 1fret - 27.12.2017, 05:53
Re: Save team - by JaKe Elite - 27.12.2017, 13:39
Re: Save team - by 1fret - 27.12.2017, 22:58
Re: Save team - by 1fret - 28.12.2017, 23:09
Re: Save team - by Primes007 - 29.12.2017, 06:04
Re: Save team - by 1fret - 29.12.2017, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)