Need command offban

hello ! i nedd a command /offban who banning a player who is offline. Please help me.

Can you read? it's scripting help section.......

Make by yourself.

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

Forum Jump:

Users browsing this thread: 1 Guest(s)