Command parameter
#1

So maybe this is a noob question, but I know how to use OnPlayerCommandText, but I dont know how to get parameters... Im with oper arms for a include, but I already did some commands with the default thing
Reply
#2

use ZCMD or IZCMD for commands. They are fast and easy-to-use
Reply
#3

But for my future knowlenge is there a way to get the parameter without includes Because Im very curios if I can do it more pawno
Reply
#4

i think that might strtok
https://sampwiki.blast.hk/wiki/Tutorial_of_strtok

read this first:
https://sampwiki.blast.hk/wiki/Strtok
Reply
#5

Strtok is painfully slow and archaic. Use YCMD or IZCMD. You don't need to do more with pawno. If you insist on doing it the old way then expect server hanging.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)