01.06.2016, 02:09
Certo, fiz oque vocк falou baixei lб e baixei um pack com 500 includes e continua mesma coisa, atй reinstalei a gm e o antigo comando era esse
erros:
PHP код:
CMD:comandosadmin2(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, -2200.5005,288.3434,35.3203))
{
SetPlayerInterior(playerid, 2);
SetPlayerPos(playerid, 1204.809936,13.897239,1000.921875);
SendClientMessage(playerid, -1,"Vocк Entrou Na Sede Da IJG");
}
return 1;
}
CMD:comandosadmin(playerid, params[])
{
if(pAdmin[playerid][Level] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Vocк nгo tem permissгo para esse comando");
new dialogrande[1024];
format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"[LEVEL 1]: /asay, /jetpack, /tr, /ir, /vidat, /coletet, /dararma, /kick, /cnn, /pinfo, /a [chat admin]\n");
format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"[CONT.LVL 1]: /congelar, /descongelar, /tapa, /setskin, /trtodos\n");
format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"[LEVEL 3]: /ban, /supertapa, /cityadmin, /saircity\n");
format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"[LEVEL 4]: /setpm /settraf /setorg /setpux\n");
format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"[LEVEL 5]: /rtc, /bkick, /climas, /clima, /lerpms\n");
ShowPlayerDialog(playerid,666, DIALOG_STYLE_MSGBOX, "COMANDOS ADMIN", dialogrande, "OK", "");
return 1;
}
PHP код:
C:\Users\DIEGO\Downloads\treinotorcidas (1).pwn(249) : error 029: invalid expression, assumed zero
C:\Users\DIEGO\Downloads\treinotorcidas (1).pwn(249) : error 017: undefined symbol "cmd_comandosadmin2"
C:\Users\DIEGO\Downloads\treinotorcidas (1).pwn(249) : error 029: invalid expression, assumed zero
C:\Users\DIEGO\Downloads\treinotorcidas (1).pwn(249) : fatal error 107: too many error messages on one line