car spawner
#9

thx +rep I found the problem. I added
Quote:

new PlayerVehicle[MAX_PLAYERS];

and the
Quote:

if(PlayerVehicle[playerid] != INVALID_VEHICLE_ID) DestroyVehicle(PlayerVehicle[playerid]);

right under
Quote:

public OnDialogResponse

I removed
Quote:

new PlayerVehicle[MAX_PLAYERS];

and the
Quote:

if(PlayerVehicle[playerid] != INVALID_VEHICLE_ID) DestroyVehicle(PlayerVehicle[playerid]);

and put
Quote:

if(PlayerVehicle[playerid] != INVALID_VEHICLE_ID) DestroyVehicle(PlayerVehicle[playerid]);

in the right postion and it's working now thanks again
Reply


Messages In This Thread
car spawner - by suni - 17.07.2015, 16:53
Re: car spawner - by suni - 17.07.2015, 21:17
Re: car spawner - by suni - 18.07.2015, 21:52
Re: car spawner - by HeLiOn_PrImE - 18.07.2015, 22:32
Re : car spawner - by KillerDVX - 18.07.2015, 23:20
Re: Re : car spawner - by suni - 19.07.2015, 22:40
Re: car spawner - by suni - 26.07.2015, 18:14
Re: car spawner - by Abagail - 26.07.2015, 18:16
Re: car spawner - by suni - 26.07.2015, 18:49

Forum Jump:


Users browsing this thread: 2 Guest(s)