Need command offban
#1

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

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

Make by yourself.
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)