[HELP]: Commands
#7

Quote:
Originally Posted by Areax
Посмотреть сообщение
So, the problem was "u" in sscanf part ?
I'm not sure.

I just changed it to "r" because you'll never slap a NPC! But I don't think that would be the problem as long as the message appeared but the name of the player you chose was NULL.

It should've worked in the first place but for some reason return failed so if/else if/else was the only way I could think of.
Reply


Messages In This Thread
[HELP]: Commands - by Areax - 01.11.2013, 20:45
Re: [HELP]: Commands - by zT KiNgKoNg - 01.11.2013, 20:48
Re: [HELP]: Commands - by Konstantinos - 01.11.2013, 20:48
Re: [HELP]: Commands - by Areax - 01.11.2013, 20:51
Re: [HELP]: Commands - by Areax - 01.11.2013, 21:41
Re: [HELP]: Commands - by DaniceMcHarley - 01.11.2013, 21:47
Re: [HELP]: Commands - by Konstantinos - 02.11.2013, 10:02
Re: [HELP]: Commands - by Ghazal - 02.11.2013, 10:53

Forum Jump:


Users browsing this thread: 1 Guest(s)