03.01.2014, 11:59
O erro й o seguinte dessa parte do meu Admin que to criando:
Essa й a parte do codigo:
PHP код:
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(261) : error 075: input line too long (after substitutions)
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(262) : warning 209: function "cmd_comandosadmin" should return a value
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(262) : error 010: invalid function or declaration
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(264) : error 010: invalid function or declaration
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(265) : error 010: invalid function or declaration
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(266) : error 010: invalid function or declaration
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(267) : error 010: invalid function or declaration
C:\Users\mateus\Desktop\Elias\[BFL] Brazil First Life RPG [NO]\filterscripts\LoginVipBFL.pwn(268) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
PHP код:
CMD:comandosadmin(playerid, params[])
if (pAdmin[playerid][Level] != 5) return SendClientMessage(playerid, 0xAD0000AA, "Vocк nгo pode fazer este comando.");
if (pAdmin[playerid][Level] >= 5) SendClientMessage(playerid, 0x7CFC00AA,"Dono:/kickall /banall /darmoney /criarveiculo /delveiculo /congelartodos /descongelarall /congelar /descongelar /vida /stopsrv\n /dararmar /desarma /dararmarall /desarmarall /resetarlevel /setlevel /colete /dizer\n /bomba /tele /killall /anuncio /delorg /editorg /kick /banir /desbanir\n /banirip /desbanirip /bombaatm /spawnallveiculos /limparchat /calar\n /darvip /tirarvip /daradmin /tiraradmin /magnetcar /explodirallcars/n /ejetarallcars /ejetarcar /liberarcasa /liberarempresa /liberarveiculo\n /menuevento /terminarevento /comeзarevento");
if (pAdmin[playerid][Level] >= 4) SendClientMessage(playerid, 0x7CFC00AA,"SubDono:/ejetarcar /tele /killplayer /gomod /godmodoff /sd /tapa\n /clima /explodir /spawncar /puxartodos /explodircar /setskin\n /banirip /desbanip /banir /desbanir /liberarorg /addplayerorg /delplayerorg /setscore\n /dargrana /repararcar /bomba /anuncio");
if (pAdmin[playerid][Level] >= 3) SendClientMessage(playerid, 0x7CFC00AA,"Admin: /kick /m /espiar /pararespiar /trazer /ir /ctm /idveiculo /msplayer /calar /congelar /descongelar /tapa /liberarnick /banir /ejetarcar /repararcar");
if (pAdmin[playerid][Level] >= 2) SendClientMessage(playerid, 0x7CFC00AA,"Moderador: /kick /m /espiar /pararespiar /trazer /ir /ctm /idveiculo /msplayer");
if (pAdmin[playerid][Level] >= 1) SendClientMessage(playerid, 0xFF9933AA,"Ajudante: /Kick /a /espiar /pararespiar /trazer /ir /cta");
return 1;
}