Changing car model ID [HELP]
#3

I found this one..works great i hope you can use it;

Код:
stock SetVehicleModel(playerid,vehicleid, model)
{
	new Float:vX, Float:vY, Float:vZ;
	new color=random(50);
	new Float:Angle;
	new Float:vehX, Float:vehY, Float:vehZ;
	GetVehicleZAngle(vehicleid,Angle);
	GetVehiclePos(vehicleid,vehX, vehY, vehZ);
	GetVehicleVelocity(vehicleid, vX, vY, vZ);
	DestroyVehicle(vehicleid);
	new Create=CreateVehicle(model, vehX, vehY, vehZ,Angle,color, color, 99999);
	PutPlayerInVehicle(playerid, vehicleid, 0);
	SetVehicleVelocity(Create,vX, vY, vZ);
}
Reply


Messages In This Thread
Changing car model ID [HELP] - by Dennis - 03.10.2010, 04:27
Re: Changing car model ID [HELP] - by CracK - 03.10.2010, 06:05
Re: Changing car model ID [HELP] - by boelie - 03.10.2010, 09:48
Re: Changing car model ID [HELP] - by Dennis - 03.10.2010, 13:32
Re: Changing car model ID [HELP] - by Calgon - 03.10.2010, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)