[HELP]Pick Pickup With Pressing Button "F" on keyboard example:armour=1242 ,
#1

[HELP]Pick Pickup With Pressing Button "F" on keyboard example:armour=1242 ,


This code

for(new i= 0; i < sizeof(pickup_Ammo); i++)
if(pickupid == pickup_Ammo[i])
{
new ammo=GetPlayerAmmo(playerid);
new gun=GetPlayerWeapon(playerid);
SetPlayerAmmo(playerid,gun,ammo+25);
}
for(new i= 0; i < sizeof(pickup_Gun); i++)
if(pickupid == pickup_Gun[i])
{
GivePlayerWeapon(playerid,1+Random(39),1+Random(25 ));
}

If i stand in pickup ammo , gun i doesnt pickup . if i press F i can do pickup example : armour

please help i need
thanks
sorry for my bad english
Reply


Messages In This Thread
[HELP]Pick Pickup With Pressing Button "F" on keyboard example:armour=1242 , - by FloxX - 30.08.2014, 11:30

Forum Jump:


Users browsing this thread: 1 Guest(s)