04.12.2013, 18:45
PHP код:
CMD:trabalhar(playerid)
{
if(Player[playerid][qAdmin] <= Moderador) return SendClientMessage(playerid,0xEE9292F6,"Vocк nгo estб autorizado a usar este comando!");
if(VerificarADM[playerid] == 0)
{
VerificarADM[playerid] = 1;
if(Player[playerid][qSexo] == 1)
{
SetPlayerSkin(playerid,217);
}
if(Player[playerid][qSexo] == 2)
{
SetPlayerSkin(playerid,211);
}
SetPlayerColor(playerid, 0xF199FFAA);
SetPlayerHealth(playerid, 999999);
format(String,sizeof(String), "Administrador(a) %s esta trabalhando veja mais em /admins", PlayerNick(playerid));
SendClientMessageToAll(-1, String);
}
CMD_jogar(playerid)
{
VerificarADM[playerid] = 0;
if(Player[playerid][qSexo] == 1)
{
SetPlayerSkin(playerid,96);
}
if(Player[playerid][qSexo] == 2)
{
SetPlayerSkin(playerid,190);
}
SetPlayerColor(playerid, -1);
SetPlayerHealth(playerid, 999999);
format(String,sizeof(String), "Administrador(a) %s esta jogando veja mais em /admins", PlayerNick(playerid));
SendClientMessageToAll(-1, String);
}
return true;
}
PHP код:
C:\Users\dos\Desktop\BU\gamemodes\BU.pwn(2300) : error 017: undefined symbol "CMD_jogar"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.