25.07.2008, 09:19
can u add a working pastebin
if(strcmp(cmd, "/sbots", true) == 0) { SendClientMessage(playerid,YELLOW,"[SAdmin] Searching for an bots..."); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new ip[16]; GetPlayerIp(playerid, ip, sizeof(ip)); if(strcmp(ip, "255.255.255.255") == 0) { format(string,256,"[SAdmin] Bot detected! IP: %d",ip); SendClientMessageToAll(ORANGE,string); Kick(playerid); return 0; } } } return 1; } |
if(strcmp(cmd, "/sbots", true) == 0) { SendClientMessage(playerid,YELLOW,"[SAdmin] Searching for an bots..."); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new ip[16]; GetPlayerIp(i, ip, sizeof(ip)); if(!strcmp(ip, "255.255.255.255") == 0) { format(string,256,"[SAdmin] Bot detected! IP: %d",ip); SendClientMessageToAll(ORANGE,string); Kick(i); return 0; } } } return 1; } |
#include <simpsondudb>