14.01.2012, 09:30
Someone got one?
CMD:createcar(playerid, params[])
{
new veh,color1,color2;
if (!sscanf(params, "iii", veh, color1,color2))
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x,y,z);
AddStaticVehicle(veh, x,y,z,0,color1, color2);
}
else SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /createcar <carid> <c1> <c2>");
return 1;
}