Posts: 10
Threads: 4
Joined: Feb 2013
Reputation:
0
hello ! i nedd a command /offban who banning a player who is offline. Please help me.
Posts: 1,733
Threads: 187
Joined: Oct 2014
Reputation:
0
Can you read? it's scripting help section.......
Make by yourself.
Posts: 233
Threads: 57
Joined: Jun 2011
Reputation:
0
As the previous person said, at least try before coming here.
Here's the logic to help you out:
-User enters /offban [username]
-Using sscanf, you pull the value of username through
-You execute and SQL query searching for that username in your users table
-If user is found, execute SQL query to set their ban value to banned (true if boolean)
-Else SendClientMessage saying that no user exists with that username