How to add pickup by using filterscript ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to add pickup by using filterscript ? (
/showthread.php?tid=621562)
How to add pickup by using filterscript ? -
AngeloBrand98 - 12.11.2016
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.
Re: How to add pickup by using filterscript ? -
SuperTramp - 06.02.2017
Код:
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);
}