SA-MP Forums Archive
Changing name + IP - Make him unable to join? - 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)
+--- Thread: Changing name + IP - Make him unable to join? (/showthread.php?tid=376826)



Changing name + IP - Make him unable to join? - gnoomen2 - 11.09.2012

Is there any way to stop a player from joining, when he changes his IP and name?


Re: Changing name + IP - Make him unable to join? - zT KiNgKoNg - 11.09.2012

yep

what ini system are you using

Example
pawn Код:
public OnPlayerConnect(playerid)
{
    if(PlayerInfo[playerid][pBanned] == 1 */or >=1 */) return Ban(playerid);
    return 1;
}



Re: Changing name + IP - Make him unable to join? - gnoomen2 - 11.09.2012

I am not using any, i need to learn how to use one. I don't know how to save pInfo[playerid][pSS] = 1; I really need help with that too.

But what you answered dosent help if the player changes the name? he also changes the IP when he changes the name.


Re: Changing name + IP - Make him unable to join? - zT KiNgKoNg - 11.09.2012

nope the samp Ban system range bans him so he/she cannot join back well it should
heres a link to a simple login/register system with dialog https://sampforum.blast.hk/showthread.php?tid=273088
you can make your own things for it ect pFaction and more but pBanned comes with it so if this is not help
then sorry but rep+ is loved


Re: Changing name + IP - Make him unable to join? - gnoomen2 - 11.09.2012

Thank you for helping me, +rep'd


Re: Changing name + IP - Make him unable to join? - zT KiNgKoNg - 11.09.2012

no problem that what im here for xD