sscanf parameter problem
#7

You could also use sscanf(params, "s[11]I(-1)", szOption, houseid)
Then on 'create' and 'reload' just don't use the houseis. Under 'setexit', check if the houseid is -1 or not. If it's -1, send an usage message . Otherwise just process the command futher (but I guess you know how it works haha)
Reply


Messages In This Thread
sscanf parameter problem - by Jonesy96 - 15.11.2014, 20:15
Re: sscanf parameter problem - by Abagail - 15.11.2014, 20:39
Re: sscanf parameter problem - by Jonesy96 - 15.11.2014, 20:43
Re: sscanf parameter problem - by Abagail - 15.11.2014, 20:46
Re: sscanf parameter problem - by SickAttack - 15.11.2014, 20:46
Re: sscanf parameter problem - by Jonesy96 - 15.11.2014, 20:58
Re: sscanf parameter problem - by Kwarde - 15.11.2014, 21:20
Re: sscanf parameter problem - by Jonesy96 - 15.11.2014, 21:56
Re: sscanf parameter problem - by Kwarde - 16.11.2014, 01:31
Re: sscanf parameter problem - by Jonesy96 - 16.11.2014, 04:05

Forum Jump:


Users browsing this thread: 1 Guest(s)