why is this code doesnt work???
#1

pawn Код:
new ipa
ipa =<0 | >999
new ipb
ipa =<0 | >999
new ipc
ipa =<0 | >999
new ipd
ipa =<0 | >999
new port
port =<0 | >100000
if (format(string, sizeof(string), "ipa.ipb.ipc.ipd:port");
SendClientMessage(playerid,COLOR_RED, "чйбмъд бап тм фшсен щшъйн")
TogglePlayerControllable(playerid, 1);
BanEx(playerid, str);
return 0;
}
else if(text = ipa ipb ipc ipd:port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa.ipb.ipc.ipd : port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa. ipb. ipc. ipd : port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa .ipb .ipc .ipd : port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa. ip .ipc. ipd : port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa. ipb. ipc. ipd:port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa .ipb .ipc .ipd:port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa ipb ipc ipd : port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa ipb ipc ipd port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa/ipb/ipc/ipd/port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa/ipb/ipc/ipd:port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa/ipb/ipc/ipd port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa /ipb /ipc /ipd /port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa /ipb /ipc /ipd port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa /ipb /ipc /ipd:port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa-ipb-ipc-ipd-port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa-ipb-ipc-ipd:port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
GetPlayerIp(strval(ID),Ip,100);
format(str,256,"%d",Ip);
BanEx(strval(ID), str);
return 1;
}
this script need to block ip
but why is it doesnt work?
Reply


Messages In This Thread
why is this code doesnt work??? - by nuriel8833 - 09.08.2009, 05:32
Re: why is this code doesnt work??? - by paytas - 09.08.2009, 07:33
Re: why is this code doesnt work??? - by SampStunta - 09.08.2009, 08:29

Forum Jump:


Users browsing this thread: 1 Guest(s)