0 Membres et 1 Invité sur ce sujet
forward NameonActif(playerid, onoff);
if(strcmp(cmd, "/tagnameoff", true) == 0) { if(IsPlayerConnected(playerid)) { if(gLogged[playerid] == false) { SendClientMessage(playerid,COLOR_GRAD1, MSG_ERROR_LOG); return 1; } for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid,i,0); PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, "Vous ne voyez plus les noms des autres joueurs."); NameonActif(playerid, 1); } return 1; }
public NameonActif(playerid, onoff){ if (onoff == 1){ for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid,i,0);} return 1;}