Pickup
#2

on start of script
Quote:

new carpickup;
new carpickupSP;

ongamemodeinit
Quote:

carpickup = AddStaticPickup(1239, 23, x, y, z, 0);//put your cords here (x,y,z),virtual world is 0

onplayerpickuppickup
Quote:

{
if(pickupid == carpickup) carpickupSP = CreateVehicle(411, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);//this 411 is id of infernus you can change this in other car id
PutPlayerInVehicle(playerid,carpickupSP,0);
return 1;
}

not tested but i think will work
Reply


Messages In This Thread
Pickup - by pryor94 - 17.08.2010, 08:43
Re: Pickup - by Dime - 17.08.2010, 09:41

Forum Jump:


Users browsing this thread: 2 Guest(s)