Default Parameters (Colour issue)
#4

he means with the unformat function

pawn Код:
if(unformat(params, "k<vehicles>D(default here)D(default here)", sCar, colour1, colour2))

//example for defaults like you asked
if(unformat(params, "k<vehicles>D(86)D(-1)", sCar, colour1, colour2))
if (colour2 == -1) colour2 = colour1;
Reply


Messages In This Thread
Default Parameters (Colour issue) - by vIBIENNYx - 24.05.2012, 00:09
Re: Default Parameters (Colour issue) - by [ABK]Antonio - 24.05.2012, 00:10
Re: Default Parameters (Colour issue) - by vIBIENNYx - 24.05.2012, 00:14
Re: Default Parameters (Colour issue) - by Jonny5 - 24.05.2012, 00:18
Re: Default Parameters (Colour issue) - by vIBIENNYx - 24.05.2012, 00:31
Re: Default Parameters (Colour issue) - by Jonny5 - 24.05.2012, 00:35
Re: Default Parameters (Colour issue) - by vIBIENNYx - 24.05.2012, 00:37
Re: Default Parameters (Colour issue) - by Jonny5 - 24.05.2012, 00:40

Forum Jump:


Users browsing this thread: 3 Guest(s)