Pickup issues
#5

i just have...when you pick up it gives the weapon and destroys the pickupid so its supossed it must be different but its messed up anywais D=....

I have something like this..this is an example about one of the drops..the anothers are copy but different 3d model and gives the different weapons....It is there any way to easily fix this? XD

public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerWeapon(playerid) == 30)
{
aka_pickup = CreatePickup(355,1,X,Y,Z,1);
}
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == aka_pickup)
{

GivePlayerWeapon(playerid,30,99999);
DestroyPickup(pickupid);
}
return 1;
}
Reply


Messages In This Thread
Pickup issues - by JulietaZ - 02.10.2010, 02:37
Re: Pickup issues - by Rachael - 02.10.2010, 03:08
Re: Pickup issues - by JulietaZ - 02.10.2010, 03:23
Re: Pickup issues - by Rachael - 02.10.2010, 03:27
Re: Pickup issues - by JulietaZ - 02.10.2010, 03:31

Forum Jump:


Users browsing this thread: 1 Guest(s)