SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Server Support (https://forum.sa-mp.com/forumdisplay.php?f=19)
-   -   Problems with rental cars (https://forum.sa-mp.com/showthread.php?t=627130)

xogud807 24/01/2017 06:12 AM

Problems with rental cars
 
new vehicle[MAX_VEHICLES]; // new car index

CreateVehicle(481, PlayPos[0]+1, PlayPos[1], PlayPos[2], 0, 1, 1, -1, 0);
DestroyVehicle();

I do not know how to create a vehicle and create a vehicle and I want to erase the vehicle only at a variable time ...
You can not even delete the vehicle if you hit the command on another vehicle. Help Me..

And I want to make sure that the vehicle I created is on the onplayerstate when I get in.


All times are GMT. The time now is 07:41 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.