Command Parameters
#1

Hey guys could you give me an example of how a command would be like if i made a command, let say:

/admin [parameter 1] [value]

/admin announce Hello world!
/admin hi // sends a client message to player, HI.

I haven't really learn't the parameters to commands that much and are willing to learn how to do this, using sscanf.
Reply


Messages In This Thread
Command Parameters - by Lorenc_ - 08.05.2011, 08:30
Re: Command Parameters - by TheGarfield - 08.05.2011, 08:57
Re: Command Parameters - by Lorenc_ - 08.05.2011, 09:05
Re: Command Parameters - by TheGarfield - 08.05.2011, 09:19
Re: Command Parameters - by HyperZ - 08.05.2011, 09:29
Re: Command Parameters - by Lorenc_ - 08.05.2011, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)