25.08.2009, 17:45
I have this
Is /painjob and apply the id 0 in car no? is easy... but i want make this /paintjob (id) id from the paint job, and i not know how make it.
Can someone help me pls?
pawn Код:
dcmd_paintjob(playerid,params[])
{
if(PlayerData[playerid][AdminLevel] == 4)
{
#pragma unused params
new veh;
veh = GetPlayerVehicleID(playerid);
ChangeVehiclePaintjob(veh,0);
SendClientMessage(playerid,COLOUR_YELLOW,"PaintJob Apply!");
return true;
}
else return SendClientMessage(playerid, COLOUR_WHITE, "SERVER: Unknow command.");
}
Can someone help me pls?