Simple Problem...
#5

Use
pawn Код:
// top of ur code
new PlayerVehicle[MAX_PLAYERS];

// Under OnPlayerConnect
PlayerVehicle[playerid] = -1;


// Creating vehicles
PlayerVehicle[platerid] = CreateVehicle(blah blah blah);

// Destroying
if( PlayerVehicle[playerid] != -1) DestroyVehicle(PlayerVehicle[playerid]);
I wouldve given more info but am on my phone.
Reply


Messages In This Thread
Simple Problem... - by Littlehelper - 02.03.2012, 08:02
Re: Simple Problem... - by niels44 - 02.03.2012, 08:04
Re: Simple Problem... - by Littlehelper - 02.03.2012, 08:25
Re: Simple Problem... - by TopFuel - 02.03.2012, 08:29
Re: Simple Problem... - by suhrab_mujeeb - 02.03.2012, 08:34
Re: Simple Problem... - by TopFuel - 02.03.2012, 08:41
Re: Simple Problem... - by Littlehelper - 02.03.2012, 09:40

Forum Jump:


Users browsing this thread: 1 Guest(s)