SA-MP Forums Archive
Is This Possible - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Is This Possible (/showthread.php?tid=294411)



Is This Possible - Zonoya - 01.11.2011

Well you Know when the player exits a car it sets the respawn time thingy is there any way too prevent the car from respawning or destroy the car and create a new one of its model, Colour, Position X, Y, Z, Rotation Etc i know how too work with it but i need some ideas on the Colour and Model can u help me please


Re: Is This Possible - i514x - 01.11.2011

pawn Код:
forward OnPlayerExitVehicle(playerid, vehicleid);
native GetVehicleModel(vehicleid);
native GetVehicleColor(vehicleid);
native GetVehiclePos(vehicleid, &Float:X, &Float:Y, &Float:Z);
That's exactly what u need to get started with and try to make something on ur own

@Edit: Just noticed there's no such function as GetVehicleColor ;o
Try this https://sampforum.blast.hk/showthread.php?tid=176496


Re: Is This Possible - Zonoya - 01.11.2011

thanks +Rep