Need help with duel system [/duel]
#4

Why not use strtok? sscanf is outdate.
pawn Код:
new tmp[120],idx;
        tmp = strtok(params, idx);
        if(!strlen(tmp))
        {
            SendClientMessage( playerid, -1, "Format:{FF9900} /duel invite [playerid] [track] ");
            return 1;
        }
        iVictim = ReturnUser(tmp);
        tmp = strtok(params, idx);
        if(!strlen(tmp))
        {
                SendClientMessage( playerid, -1, "Format:{FF9900} /duel invite [playerid] [track] ");
                return 1;
        }
        iTrack = strval(tmp);
Reply


Messages In This Thread
Need help with duel system [/duel] - by admantis - 12.11.2011, 00:45
Re: Need help with duel system [/duel] - by StuffBoy - 12.11.2011, 00:52
Re: Need help with duel system [/duel] - by admantis - 12.11.2011, 01:03
Re: Need help with duel system [/duel] - by StuffBoy - 12.11.2011, 01:09
Re: Need help with duel system [/duel] - by admantis - 12.11.2011, 01:12
Re: Need help with duel system [/duel] - by seanny - 12.11.2011, 08:10

Forum Jump:


Users browsing this thread: 1 Guest(s)