[HELP] Pickups
#3

I have tested your code, and here it works perfectly.

Here's code that i used:

InPut:
pawn Код:
new pickup[6]; //i put more pickups...

public OnGameModeInit()
{
    pickup[5] = CreatePickup(1239,1,1529.6,-1691.2,13.3, -1);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pickup[5]) GameTextForPlayer(playerid, "~r~Test sucefully", 5000, 1);
    return 1;
}
OutPut:
Reply


Messages In This Thread
[HELP] Pickups - by P!x3L - 10.04.2011, 13:39
Re: [HELP] Pickups - by Admigo - 10.04.2011, 13:58
Re: [HELP] Pickups - by Shelby - 10.04.2011, 13:59
Re: [HELP] Pickups - by P!x3L - 10.04.2011, 14:04
Re: [HELP] Pickups - by Shelby - 10.04.2011, 14:12
Re: [HELP] Pickups - by P!x3L - 10.04.2011, 14:15
Re: [HELP] Pickups - by P!x3L - 10.04.2011, 14:21
Re: [HELP] Pickups - by Admigo - 10.04.2011, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)