Multiple Param Commands with SSCANF
#1

So, i've been trying to work out how to use multiple param commands, heres my code
pawn Код:
else if(!strcmp(option, "uninvite"))
    {
        if(sscanf(params, "{s[35]}r", pID)) return SendClientMessage(playerid, COLOR_GM, "USAGE: /faction uninvite [playerid]");
        print("Uninvite");
        printf("DEBUG 'uninvite' ID: %d", pID);
    }
But if there is a "pID" value inserted, it wont pass through, any idea?
Reply


Messages In This Thread
Multiple Param Commands with SSCANF - by FalconWingsX - 17.12.2013, 18:17
Re: Multiple Param Commands with SSCANF - by Joe Staff - 17.12.2013, 18:22
Re: Multiple Param Commands with SSCANF - by FalconWingsX - 17.12.2013, 18:25
Re: Multiple Param Commands with SSCANF - by Hansrutger - 17.12.2013, 18:42
Re: Multiple Param Commands with SSCANF - by FalconWingsX - 17.12.2013, 18:53
Re: Multiple Param Commands with SSCANF - by Hansrutger - 17.12.2013, 19:00
Re: Multiple Param Commands with SSCANF - by FalconWingsX - 19.12.2013, 20:30
AW: Multiple Param Commands with SSCANF - by Nero_3D - 19.12.2013, 21:41
Re: AW: Multiple Param Commands with SSCANF - by Patrick - 19.12.2013, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)