28.02.2013, 00:37
En OnPlayerConnect
y en OnPlayerDisconnect
pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(!strcmp(name, "Federico_Blanco"))
PlayerInfo[playerid][pFedericoB] = 1;
pawn Код:
if(PlayerInfo[playerid][pFedericoB]) PlayerInfo[playerid][pFedericoB] = 0;