Posts: 664
Threads: 65
Joined: Jul 2011
Reputation:
0
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
Posts: 150
Threads: 14
Joined: Sep 2010
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