Quote:
Originally Posted by Super_Panda
Fine, I fixed it!
And now this wont unfreeze all the players.....just me...
pawn Код:
dcmd_comenzar(playerid,params[]) { #pragma unused params if(PlayerInfo[playerid][Level] >= 4) { CMDMessageToAdmins(playerid,"Comenzar"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && (i != playerid) && i != ServerInfo[MaxAdminLevel]) { PlayerPlaySound(i,1057,0.0,0.0,0.0); TogglePlayerControllable(playerid,true); PlayerInfo[i][Frozen] = 0; } } } }
|
pawn Код:
TogglePlayerControllable(i, true);
EDIT: Having (playerid, true) will only unfreeze the player that has executed the command... in this case... you.