Present system
#8

Quote:
Originally Posted by Dokins
Посмотреть сообщение
SSCANF is the issue here, also.

You would have to use an optional parameter, this will work better. Like this:
pawn Код:
if(sscanf(params, "s[32]S(0)[32]",option, type))
    {
        SendClientMessage(playerid, COLOR_WHITE, "** [Usage]: /gift [option]");
        SendClientMessage(playerid, COLOR_GREY, "OPTIONS: Create, Remove");
        return 1;
    }
The string compare should then work.

ALSO:

This tutorial cleared this up a hell of a lot for me.

https://sampforum.blast.hk/showthread.php?tid=250454
I'll try this out, thanks for the help too.
Reply


Messages In This Thread
Present system - by JacobSanchez - 15.12.2013, 16:40
Re: Present system - by JacobSanchez - 15.12.2013, 23:21
Re: Present system - by Vince - 15.12.2013, 23:41
Re: Present system - by JacobSanchez - 15.12.2013, 23:45
Re: Present system - by JacobSanchez - 16.12.2013, 22:11
Re: Present system - by Vince - 16.12.2013, 22:55
Re: Present system - by Dokins - 16.12.2013, 23:21
Re: Present system - by JacobSanchez - 16.12.2013, 23:38
Re: Present system - by JacobSanchez - 16.12.2013, 23:50
Re: Present system - by Dokins - 17.12.2013, 00:03

Forum Jump:


Users browsing this thread: 5 Guest(s)