23.01.2010, 20:21
I use File Functions to save the stats of the player.
When I /ban a player to lock his account his pBanned returns to 1 so when he try to login with a different IP he will get kicked
EXAMPLE:
But i want an /unban command that it turns his pBanned back to 0 so he can play again
When I /ban a player to lock his account his pBanned returns to 1 so when he try to login with a different IP he will get kicked
EXAMPLE:
Код:
OnPlayerLogin { if(PlayerInfo[playerid][pBanned] == 1) { Kick(playerid); return 1; } }