Example command with multiple params
#1

Does anybody have an example of a command with multiple parameters? Like /v color color model or /weapon model ammo etc.

I saw the "how to make basic commands" tutorial but dcmd doesn't seem to work for me, Compiles fine but always get unknown command on server..

So an example command with multiple parameters using strtok would be cool. Thanks.
Reply
#2

https://sampwiki.blast.hk/wiki/Fast_Commands - there are examples.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)