01.06.2013, 14:43
By itself, it will not.
It will print "You Have Added Object ID 0 On Vehicle ID 0".
Like I said before, creating a variable without assigning a value to it, it will get the value 0 by default. You need to assign the value of the object that you've stored somewhere.
pawn Код:
CMD:test(playerid, params[])
{
new objectmodel, car;
new string[128];
format(string, sizeof string, "You Have Added Object ID %d On Vehicle ID %d.", objectmodel, car);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
return 1;
}
Like I said before, creating a variable without assigning a value to it, it will get the value 0 by default. You need to assign the value of the object that you've stored somewhere.

