Creating Personal Vehicle via MySQL and ZCMD
#2

you have to use vehicle's ID as a player's current vehicle.
for example, add enum CarID
when you create a vehicle, set the player's pInfo[playerid][CarID] = vehid;
than you can use this pInfo[playerid][CarID] as an ID of the vehicle.
Reply


Messages In This Thread
Creating Personal Vehicle via MySQL and ZCMD - by Zeus666 - 14.04.2018, 13:34
Re: Creating Personal Vehicle via MySQL and ZCMD - by Mugala - 14.04.2018, 22:22
Re: Creating Personal Vehicle via MySQL and ZCMD - by Zeus666 - 15.04.2018, 07:29
Re: Creating Personal Vehicle via MySQL and ZCMD - by TitoRayne - 15.04.2018, 11:22
Re: Creating Personal Vehicle via MySQL and ZCMD - by AmigaBlizzard - 15.04.2018, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)