How do add ammo?
#5

new emments_deagle;
public OnGameModeInit()
{
SetGameModeText("[...] V2.0");
//Weapon Spawn
emments_deagle = CreatePickup(348, 2, 2443.1848,-1979.8909,13.5469); // Emmets deagle

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == emments_deagle)
{
GivePlayerWeapon(playerid, 24, 77); //77 is ammo
}
Reply


Messages In This Thread
How do add ammo? - by kevin13 - 04.05.2009, 13:23
Re: How do add ammo? - by Diler - 04.05.2009, 13:28
Re: How do add ammo? - by kevin13 - 04.05.2009, 13:36
Re: How do add ammo? - by kevin13 - 05.05.2009, 15:37
Re: How do add ammo? - by Magie[CZ] - 05.05.2009, 17:31
Re: How do add ammo? - by kevin13 - 05.05.2009, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)