Bool value
#2

In variable 'Veh1[playerid]' the model is stored, not vehicle ID.
pawn Код:
// on top
new vehid[MAX_PLAYERS];
// if veh's not spawned
vehid[playerid] = CreateVehicle(Veh1[playerid], x, y, z, angle+90, 0, 0, -1);
//else
DestroyVehicle(vehid[playerid]);
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)