Commands
#1

How to make a private command...
Something like I have a server and I want add Neons but just Donators can use it... And the admins have to give them Rights...
Reply
#2

All you need is available via ths link: Click Me
Reply
#3

Seems like a simple use of "if" statement and some variables.

You can simply add "if" in a command and check if player's variable equals ( == ) the value needed to do something. If it does, it will do what you want it to do - if not, simply send an error message using "SendClientMessage" that you are not donator or something like that.

To provide the use of command you have to set the variable. For that you have to set player's variable equal to the value needed to do something.

I sugges you to take a look at some scripts in this forum and use a lot of SA-MP wiki.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)