Need command offban
#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


Messages In This Thread
Need command offban - by ionutsx - 20.11.2014, 17:59
Re: Need command offban - by Glossy42O - 20.11.2014, 18:04
Re: Need command offban - by Jonesy96 - 20.11.2014, 19:25

Forum Jump:


Users browsing this thread: 2 Guest(s)