command help
#2

The easiest way is using sscanf (#include <sccanf2>)

string[64];
integer;
if(sscanf(params, "is[64]", integer, variable)) return SendClientMessage(playerid, -1, "ERROR......[parameter 1] [parameter 2]");

Then just use the variables: string, integer ect.
Reply


Messages In This Thread
command help - by JawsPlus - 29.11.2014, 05:04
Re: command help - by iiNzTicTx - 29.11.2014, 05:09
Re: command help - by JawsPlus - 29.11.2014, 05:10
Re: command help - by iiNzTicTx - 29.11.2014, 05:19
Re: command help - by JawsPlus - 29.11.2014, 05:51
Re: command help - by iiNzTicTx - 29.11.2014, 05:59
Re: command help - by JawsPlus - 29.11.2014, 06:08
Re: command help - by Galletziz - 29.11.2014, 06:16
Re: command help - by JawsPlus - 29.11.2014, 06:28
Re: command help - by iiNzTicTx - 29.11.2014, 06:36

Forum Jump:


Users browsing this thread: 6 Guest(s)