04.09.2013, 22:00
pawn Код:
if(strcmp("/cityadmin", cmdtext, true, 10) == 0)
{
{
SendClientMessage(playerid, COR_ERRO, "Vocк estб na cadeia!");
return 1;
}
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new nick[21], string[128];
GetPlayerName(playerid, nick, 21);
format(string, sizeof(string), "O Administrador %s foi para a cityadmin", nick);
SetPlayerPos(playerid, -311.6018,1538.0621,75.5625);//1081.0924,-318.0337,73.9922,154.7747
SendClientMessageToAll(COR_PRINCIPAL, string);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Sem Permissгo");
}
return 1;
}
C:\Documents and Settings\Conviidado.AKINAS-E30DEFCE\Meus documentos\Minhas imagens\imprimir\GFB.pwn(5440) : warning 219: local variable "nick" shadows a variable at a preceding level
C:\Documents and Settings\Conviidado.AKINAS-E30DEFCE\Meus documentos\Minhas imagens\imprimir\GFB.pwn(5440) : warning 219: local variable "string" shadows a variable at a preceding level