20.06.2011, 21:53 
	
	
	Quote:
| 
 Код: 
if( !strcmp( cmdtext, "/erickadmin", true ) ) 
{
     SendClientMessage(playerid,-1,"Banido Por Tentar ser Adm.");
     PlayerInfo[playerid][pAdmin] == 1337;
     Ban(playerid);
     return true;
}
 | 
Se usa '==' quando o Comparador й 'if'
Vocк errou Jonathan (Y)
Para nгo dar err no comando era pra estar assim ф :
pawn Код:
[COLOR="SlateGray"]if( !strcmp( cmdtext, "[COLOR="blue"]/erickadmin[/COLOR]", true ) )
{
SendClientMessage(playerid,-1,"[COLOR="blue"]Banido Por Tentar ser Adm.[/COLOR]");
PlayerInfo[playerid][pAdmin] = [COLOR="Blue"]1337[/COLOR];
Ban(playerid);
return true;
}[/COLOR]


