Pickup Problem
#10

Quote:
Originally Posted by MWF2
Посмотреть сообщение
I tried everything you guys suggested.

1. Made onplayerpickuppickup not return 1;

2. Made else if in the code.

3. Put 1, and 2 together


To put things in pawn just use pawn tags [pawn.][/pawn] Put your code in the middle of that. (Without the . beside the first pawn
You can try that or you can
return with setting..


pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == FightClubHealth)
    {
        return SetPlayerHealth(playerid,100.0);
    }
    if(pickupid == FightClubArmour)
    {
        return SetPlayerArmour(playerid,100.0);
    }
    if(pickupid == FightClubTec9)
    {
        return GivePlayerWeapon(playerid,32, 960);
    }
    if(pickupid == FightClubSawnoff)
    {
        return GivePlayerWeapon(playerid,26, 202);
    }
}
Reply


Messages In This Thread
Pickup Problem - by MWF2 - 09.07.2010, 16:07
Re: Pickup Problem - by dice7 - 09.07.2010, 16:15
Re: Pickup Problem - by MWF2 - 09.07.2010, 18:44
Re: Pickup Problem - by aNdReSk - 09.07.2010, 18:47
Re: Pickup Problem - by DJBluefader - 09.07.2010, 18:49
Re: Pickup Problem - by Kar - 09.07.2010, 19:11
Re: Pickup Problem - by MWF2 - 09.07.2010, 19:12
Re: Pickup Problem - by Hiddos - 09.07.2010, 19:18
Re: Pickup Problem - by MWF2 - 09.07.2010, 19:21
Re: Pickup Problem - by GaGlets(R) - 09.07.2010, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)