Simple Problem...
#6

Quote:
Originally Posted by suhrab_mujeeb
Посмотреть сообщение
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.

Edit: I messed up the code I posted above, but is already fixed, are now two lines
Yes, this code can work well but the code I posted above was used only one line and will work the same way.

Wiki: GetVehicleModel
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)