Pickup Help
#3

Quote:
Originally Posted by Dr
Посмотреть сообщение
pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
    new file[256];
    dini_IntSet(file, "Money", PlayerInfo[playerid][pMoney] += 60);
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
    DestroyPickup(pickupid);
    return 1;
}
But the pickup isnt destroyed? Why?
because if you are using the streamer plugin and including it in your gamemode or filterscript you have to use the following function rather then using the default PickUp Destroying function.

pawn Код:
native DestroyDynamicPickup(pickupid);
-FalconX
Reply


Messages In This Thread
Pickup Help - by Dr - 04.04.2012, 02:26
Re: Pickup Help - by DeathTone - 04.04.2012, 02:27
Re: Pickup Help - by FalconX - 04.04.2012, 02:28

Forum Jump:


Users browsing this thread: 1 Guest(s)