Quote:
Originally Posted by Jonny5
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;
|
Thanks, tried it but the issue is, that the command does not spawn the car unless both Variables are input, I have a feeling it is because of the -1, trying it now