Simple function question..?
#3

so like this?
Quote:

else if(PlayerInfo[playerid][pCar] == 402)
{
new vehicle[playerid]
CreateVehicle(402,-2467.9888,2223.9019,4.5598,1,1,1,0);
vehicle[playerid] = CreateVehicle(402,-2467.9888,2223.9019,4.5598,1,1,1,0);
PlayerIntoVehicle(vehicle[playerid]);
GameTextForPlayer(playerid,"~h~~w~You brought a ~n~~h~~w~~h~~r~ Buffalo!",2500,1);
bike_reload[playerid] = gettime() + 20000;
return 1;
}

??
And how could i get the vehicleid now? so i can save it in my enume as pCarid? I want to save it so that then i can do cmd:unspawn and it will destroy that vehicle id



And of course thanks alot +rep
Reply


Messages In This Thread
Simple function question..? - by MatZZPL - 06.11.2012, 14:13
Re: Simple function question..? - by redreaper666 - 06.11.2012, 14:18
Re: Simple function question..? - by MatZZPL - 06.11.2012, 14:58
Re: Simple function question..? - by Abreezy - 06.11.2012, 17:02
Re: Simple function question..? - by MatZZPL - 06.11.2012, 20:14

Forum Jump:


Users browsing this thread: 2 Guest(s)