OnPlayerPickUpPickup
#7

Here's an example.

pawn Код:
//Top of script
new Money;
Money = CreatePickup(blah blah blah);
//Rest of script
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if (pickupid == Money) {
        SendClientMessage(playerid, 0x00FF00FF, "You found $200!");
        GivePlayerMoney(playerid, 200);
    }
    return 1;
}
//Rest of script
Reply


Messages In This Thread
OnPlayerPickUpPickup - by amrour - 20.02.2009, 18:12
Re: OnPlayerPickUpPickup - by SpiderPork - 20.02.2009, 18:14
Re: OnPlayerPickUpPickup - by amrour - 20.02.2009, 18:14
Re: OnPlayerPickUpPickup - by SpiderPork - 20.02.2009, 18:16
Re: OnPlayerPickUpPickup - by amrour - 20.02.2009, 18:18
Re: OnPlayerPickUpPickup - by Vyorel - 20.02.2009, 18:25
Re: OnPlayerPickUpPickup - by Ghett0 - 20.02.2009, 18:36
Re: OnPlayerPickUpPickup - by yom - 20.02.2009, 18:40

Forum Jump:


Users browsing this thread: 1 Guest(s)