13.03.2014, 21:04
Eu Gostaria de Criar o Cmd de /fakeban e /fakekick mas em strcmp tipo o administrador escreve /fakeban [ID] [motivo]
mas o player nao ser clicado uma trolagem
mas o player nao ser clicado uma trolagem
C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\pawno\include\streamer.inc(391) : error 017: undefined symbol "Streamer_OnPlayerPickUpPickup" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\pawno\include\streamer.inc(411) : error 017: undefined symbol "Streamer_OnPlayerEnterCP" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(362) : error 017: undefined symbol "AddFlitsPaal" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(363) : error 017: undefined symbol "AddFlitsPaal" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(364) : error 017: undefined symbol "AddFlitsPaal" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(365) : error 017: undefined symbol "AddFlitsPaal" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(366) : error 017: undefined symbol "AddFlitsPaal" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(367) : error 017: undefined symbol "AddFlitsPaal" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1794) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1795) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1796) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1797) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1798) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1799) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1800) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1801) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1802) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1803) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1804) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1805) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1806) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1807) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1808) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1809) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1810) : error 017: undefined symbol "CPS_AddCheckpoint" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(1811) : error 017: undefined symbol "CPS_AddCheckpoint" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
if(strcmp("/fakekick", cmdtext, true) == 0) { new id, name[MAX_PLAYER_NAME+1], msgsize[100], namesize[24+MAX_PLAYER_NAME+1]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, -1, "Utilizaзгo: /fakekick [ID]"); id = strval(tmp); GetPlayerName(id, name, sizeof(namesize)); format(string, sizeof(msgsize), "O administrador kickou o jogador %s.", name); if(pAdmin[playerid] == 5 ){ SendClientMessageToAll(-1, string); return 1; }
C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(6177) : error 017: undefined symbol "tmp" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(6178) : error 017: undefined symbol "tmp" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(6179) : error 017: undefined symbol "tmp" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(6176) : warning 204: symbol is assigned a value that is never used: "namesize" C:\Users\Matheus\Desktop\BWC CONSERTADO - Copia\gamemodes\BWC.pwn(6176) : warning 204: symbol is assigned a value that is never used: "msgsize" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
if(strcmp("/fakekick", cmdtext, true) == 0) {
new id, tmp[24], name[MAX_PLAYER_NAME+1];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "Utilizaзгo: /fakekick [ID]");
id = strval(tmp);
GetPlayerName(id, name, sizeof(namesize));
format(string, sizeof(msgsize), "O administrador kickou o jogador %s.", name);
if(pAdmin[playerid] == 5 ){
SendClientMessageToAll(-1, string);
return 1;
}