14.02.2012, 20:25
Comando:
ERRO:
PHP код:
if(strcmp(cmd, "/hdisfarce", true) == 0)
{
if(PlayerToPoint(5.0,playerid,1107.5999755859,-316.79998779297,74.699996948242))
{
if(PlayerInfo[playerid][pLider] == 8 || PlayerInfo[playerid][pMembro] == 8)
{
new x_apet[256];
x_apet = strtok(cmdtext, idx);
if(!strlen(x_apet)) {
SendClientMessage(playerid, COLOR_LIGHTGREEN, "|__________________Disfarce__________________|");
SendClientMessage(playerid, COLOR_WHITE, "Use: /hdisfarce [Nome] para mudar sua roupa.");
SendClientMessage(playerid, COLOR_WHITE, "Nomes Validos: Civil,Pmls,Bope,PC");
SendClientMessage(playerid, COLOR_WHITE, "Nomes Validos: Grove,Balas,Vagos,Aztecas,Mendingo");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Para escolher sua roupa use, Ex: /hdisfarce bope");
SendClientMessage(playerid, COLOR_LIGHTGREEN, "|____________________________________________|");
return 1; }
if(strcmp(x_apet,"civil",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de Civil.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid, 2);
return 1;
}
if(strcmp(x_apet,"pmls",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de Policia Militar.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,280);
return 1;
}
if(strcmp(x_apet,"BOPE",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de BOPE.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,285);
return 1;
}
if(strcmp(x_apet,"aztecas",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de Aztecas.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,115);
return 1;
}
if(strcmp(x_apet,"pc",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de Policia Civil.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,59);
return 1;
}
if(strcmp(x_apet,"balas",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de balas.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,102);
return 1;
}
if(strcmp(x_apet,"vagos",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de vagos.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,109);
return 1;
}
if(strcmp(x_apet,"grove",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de Groove.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,107);
return 1;
}
if(strcmp(x_apet,"mendingo",true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE, "Vocк se disfarзou de Mendingo.");
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerSkin(playerid,78);
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Este comando nгo existe.");
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Vocк nгo estб no Vestiario.");
}
}
PHP код:
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8151) : error 017: undefined symbol "pLider"
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8154) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8162) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8175) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8182) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8189) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8196) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8203) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8210) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8217) : warning 217: loose indentation
C:\Users\Windows\Documents\Meus arquivos recebidos\[GM] Godfather Traduzido\[GM] Godfather traduzido\GodFather.pwn(8224) : warning 217: loose indentation