CreateDynamicPickup - 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: CreateDynamicPickup (
/showthread.php?tid=633560)
CreateDynamicPickup -
Man43 - 03.05.2017
Question :- I will creating a CreateDynamicPickup But If i want to use it. How to i can?
Example: CreateDynamicPickup(modelid,type,x,y,z,worldid,int eriorid,playerid,distance);
How to i can use it? I Mean onplayerPickupPickup But i want it Dynamic.
Re: CreateDynamicPickup -
RedRex - 03.05.2017
Here you go:-
Example
Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid);
{
if(pickupid == YOUR PICKUP ID!)
{
YOUR CODEHERE!!!!
}
return 1;
}
That's all its easy.
EDITED:- Sry wrong code!
Re: CreateDynamicPickup -
Man43 - 03.05.2017
omg!!! its worked!!! Thaaaaaaaaaaanks <3