SA-MP Forums Archive
[HELP] is this code going to work - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] is this code going to work (/showthread.php?tid=87289)



[HELP] is this code going to work - nuriel8833 - 19.07.2009

I build this code but i dont know if its gonna work:
Quote:

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
new text
if(text = ipa.ipb.ipc.ipdort){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa ipb ipc ipdort){ 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. ipdort){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa .ipb .ipc .ipdort){ 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/ipdort){ 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 /ipdort){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa-ipb-ipc-ipd-port){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
else if(text = ipa-ipb-ipc-ipdort){ SendClientMessage(playerid,color,"чйбмъд бап тм фшсен щшъйн"); return 0; }
GetPlayerIp(strval(ID),Ip,100);
format(str,256,"%d",Ip);
BanEx(strval(ID), str);
return 1;
}

this is suppost to block ip in the chat



Re: [HELP] is this code going to work - saiberfun - 19.07.2009

i don't think it's gonna work tho
just wanted to say there is a
Код:
 bbc
and this is an eglish forum
dunno if
It's allowed to post othr languagees in pawncodes O_O


Re: [HELP] is this code going to work - ByFukara - 19.07.2009

will work


Re: [HELP] is this code going to work - nuriel8833 - 19.07.2009

Quote:
Originally Posted by saiberfun
i don't think it's gonna work tho
just wanted to say there is a
Код:
 bbc
and this is an eglish forum
dunno if
It's allowed to post othr languagees in pawncodes O_O
ohhhh... ok cause im new here / =
i know cause my server is in hebrew and i know in other forums it doesnt work too...
so anyway how can i fix that code


Re: [HELP] is this code going to work - borisblat - 19.07.2009


What did you tried to do here? block someone?