18.05.2013, 12:22
Hello Guys i made a Pickup but it get Disappears After someone Pick It Up
i want it there always
l dont want it to get disappear after someone picks it up
i want it there always
l dont want it to get disappear after someone picks it up
pawn Код:
new nrgpickup; //on the top
nrgpickup = CreatePickup(1318, 22, 2405.1450,1438.6797,18.7639,-1); //Hospital Enter Pickup.//under ongamemodeinit
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == nrgpickup)
{
new Float:X,Float:Y,Float:Z,Float:A;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,A);
Car = CreateVehicle(411,X,Y,Z,A,1,1);
PutPlayerInVehicle(playerid,Car,0);
SendClientMessage(playerid, COLOR_GREEN, "You have Successfully Spawned A NRG-500");
return 1;
}
return 1;
}