SA-MP Forums Archive
How.. - 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: How.. (/showthread.php?tid=230497)



How.. - Rock18 - 23.02.2011

Today , i've get banned on someone server and when i've tryed to connect again , it appears a dialog . "You are banned from this server...ban id...name...ip...and i was thinking how i can make a dialog to appears only when banned players join ?


Re: How.. - Zh3r0 - 23.02.2011

Make a variable, when banning the player set that variable to true, save it in his account file, when joining server, get the value from the file, and set the variable to true and use if ( Banned[ playerid ] == true ) to check if he is banned and make the custom made dialog pop-up.


Re: How.. - Rock18 - 23.02.2011

Thanks , it works .