Bool value
#4

Function CreateVehicle() returns the new ID of newly created vehicle and that ID is stored into vehid[playerid]. So when we want to destroy the vehicle, we need to use its ID, so we do DestroyVehicle(vehid[playerid]);. I guess, there's something wrong maybe with boolean (vehspawned[MAX_PLAYERS]) or something else, but not with it.
Reply


Messages In This Thread
Bool value - by cnoopers - 04.07.2014, 18:39
Re: Bool value - by kamiliuxliuxliux - 04.07.2014, 19:23
Re: Bool value - by cnoopers - 04.07.2014, 19:41
Re: Bool value - by kamiliuxliuxliux - 04.07.2014, 19:47
Re: Bool value - by cnoopers - 04.07.2014, 19:54
Re: Bool value - by cnoopers - 04.07.2014, 21:23
Re: Bool value - by cnoopers - 05.07.2014, 10:00
Re: Bool value - by Threshold - 05.07.2014, 12:55
Re: Bool value - by cnoopers - 06.07.2014, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)