02.06.2012, 14:38
Alright...
1) On the /ban command, write in the player's file that he is "banned", on the /unban command, check if the file has "banned" set to 1, if it is, that means he IS banned, if not, that means he's not, and from there you can unban...
2) Offline ban? I guess this means it's an account ban, so it's related to your player files in the database?
3) Use the ShowPlayerDialog function, and OnDialogResponse callback (you can find these on wikipedia, just ******)
Glad to help
1) On the /ban command, write in the player's file that he is "banned", on the /unban command, check if the file has "banned" set to 1, if it is, that means he IS banned, if not, that means he's not, and from there you can unban...
2) Offline ban? I guess this means it's an account ban, so it's related to your player files in the database?
3) Use the ShowPlayerDialog function, and OnDialogResponse callback (you can find these on wikipedia, just ******)
Glad to help