DEFAULT CMD AND PARAMS
#3

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
if(sscanf(cmdtext[12], "dd", price, interiorid)) // 12 means strlen("/createhouse")
show how are you calling 'cmd' in this
pawn Код:
if(strcmp(cmd, "/createhouse", true) == 0)
its strtok or sscanf too?
I'm Not Using Any 'cmd' engine like zcmd...
I'm Just Using PAWN-s Simple command system. and i wanted to use sscanf in commands.
PHP код:
 new cmd[20]; 
Reply


Messages In This Thread
DEFAULT CMD AND PARAMS - by Pearson - 15.12.2016, 17:27
Re: DEFAULT CMD AND PARAMS - by Jefff - 15.12.2016, 18:38
Re: DEFAULT CMD AND PARAMS - by Pearson - 15.12.2016, 19:04
Re: DEFAULT CMD AND PARAMS - by Jefff - 15.12.2016, 23:36
Re: DEFAULT CMD AND PARAMS - by Logic_ - 16.12.2016, 10:55

Forum Jump:


Users browsing this thread: 1 Guest(s)