Vehicle Spawn Menu
#2

new personalvevicle[MAX_PLAYERS] = { -1, ... };


Onplayerdisconnect: Destroypersonalvehicle(playerid);

Createpersonalvehicle(playerid, model)
{
destroypersonalvehicle(playerid);

Personalvehicle[playerid] = CreateVehicle(model, ....);
}

destroypersonalvehicle(playerid)
{
if(Personalvehicle[playerid] != -1)
{
DestroyVehicle(personalvehicle[playerid]);
personalvehicle[playerid] = -1;
}
}
Reply


Messages In This Thread
Vehicle Spawn Menu - by kikoto - 01.02.2012, 22:56
Re: Vehicle Spawn Menu - by ғαιιοцт - 01.02.2012, 23:03
Re: Vehicle Spawn Menu - by kikoto - 01.02.2012, 23:05
Re: Vehicle Spawn Menu - by ғαιιοцт - 01.02.2012, 23:10
Re: Vehicle Spawn Menu - by GenerationXtreme - 01.02.2012, 23:17
Re: Vehicle Spawn Menu - by kikoto - 01.02.2012, 23:33
Re: Vehicle Spawn Menu - by ғαιιοцт - 01.02.2012, 23:41
Re: Vehicle Spawn Menu - by kikoto - 01.02.2012, 23:54

Forum Jump:


Users browsing this thread: 1 Guest(s)