21.12.2016, 16:28
Quote:
Looking at the function the name of the player to ban is passed in "giveplayerid" parameter so you need to use this as an argument in your INSERT query.
About the IP, unless you read it from the database/player's file you can't be aware of it. Is what OnPlayerOfflineLogin does this? I hope you don't load unnecessary data as well but only the IP in there. What do you use to save player's data? pawn Код:
It'd have to be MAX_PLAYERS + 1. |
And about IP,i get them from player database.Its working good.
About that max_players idk what do you mean xD.
Rep++