27.11.2011, 07:43
So regarding to yourself, and scripting for cash.
It's Should. "Ban(playerid)" isn't a pawno defined variable, LMAO.
You clearly don't know what you're saying, you just said that you just variable and you mention something about a file.
, what variable is there to set when theres no connected player?
Is this going for money?
____________
For something rather more simple. Try making a server sided banning technique, I'd suggest using SQLite/MYSQL since they have a great functionality towards doing such things.
If the player connects to the server simply open a query to check if the player is in the BANS table and then kick him from the server.
Quote:
You shoudl make a player variable for being banned, rather than using the pawno defined variable.
|
Quote:
Then for the unban command, just make it open their file, and set the variable to 0.
|
![Picard](images/smilies/picard2.png)
Is this going for money?
____________
For something rather more simple. Try making a server sided banning technique, I'd suggest using SQLite/MYSQL since they have a great functionality towards doing such things.
If the player connects to the server simply open a query to check if the player is in the BANS table and then kick him from the server.