24.12.2011, 01:58
Cause the function your using is incorrect syntax.
ShowPlayerNameTagForPlayer(playerid,giveplayerid, 0); it works for two player's u need to have a loop in my view for the other player to be i!
ShowPlayerNameTagForPlayer(playerid,giveplayerid, 0); it works for two player's u need to have a loop in my view for the other player to be i!
pawn Код:
if (strcmp("/Invisible", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][Premiun] >= 1)
{
for(new i = 0;i <= MAX_PLAYERS;i++)
{
ShowPlayerNameTagForPlayer(playerid,i, 0);
}
SetPlayerColor(playerid,COLOR_INVISIBLE);
SendClientMessage(playerid, COLOUR_WHITE, "Ahora Eres Invisible en el Mapa.");
return 1;
}
else return SendClientMessage(playerid, COLOR_ROJO, "[Error]: Comando Solo Para Usuarios Premium Nivel 1");
}