How to add pickup by using filterscript ?
#1

Can someone here made a filterscript to make a Pickup on game pickup like Health, Armour, Weapon and other else.
and if you have your works about this things, then leave the link below and i will use it Thanks a Lot.
Reply
#2

Код:
public OnGameModeInit()
{
    new mypickup;
    mypickup = CreatePickup(359,2,19955.5645,-1615.6426,33.4479,-1);
    return 1;
}
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == mypickup) GivePlayerMoney(playerid,10000);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)