Deathmatch script needs help
#4

Quote:
Originally Posted by Stefand
Посмотреть сообщение
ummm idk xD.

but ehm do you know some where i can find a tutorial for that ammo thing?
dont really know
but i can show u a example
pawn Код:
new pickup;

public OnGameModeInit()
{
    pickup = CreatePickup(1242, 2, 0, 0, 0, -1);//put the X,Y,Z where ever you want
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pickup )
    {
        SetPlayerAmmo(playerid,GetPlayerWeapon(playerid),GetPlayerAmmo(playerid)+500);//this will make his current weapon that he is holding +500 amo
    }
    return 1;
}
Reply


Messages In This Thread
Deathmatch script needs help - by Stefand - 15.11.2011, 16:12
Re: Deathmatch script needs help - by park4bmx - 15.11.2011, 16:18
Re: Deathmatch script needs help - by Stefand - 15.11.2011, 16:21
Re: Deathmatch script needs help - by park4bmx - 15.11.2011, 16:25
Re: Deathmatch script needs help - by Stefand - 15.11.2011, 16:28
Re: Deathmatch script needs help - by KosmasRego - 15.11.2011, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)