Posts: 169
Threads: 35
Joined: Nov 2010
Reputation:
0
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 ?
Posts: 4,510
Threads: 163
Joined: Mar 2008
Reputation:
0
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.