SA-MP Forums Archive
Creating pickups - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Creating pickups (/showthread.php?tid=273774)



Creating pickups - davidnking - 03.08.2011

hey i wanna add a pickups to my server but i dont know how
this is the pickups
AddStaticPickup(1240,2,2018.855834,1341.744873,10. 987840);
AddStaticPickup(1242,2,2018.876098,1344.045776,10. 987840);
AddStaticPickup(361,2,1953.467407,1343.011596,15.3 74607);
AddStaticPickup(339,2,-810.458374,2429.059326,156.964462);
AddStaticPickup(344,2,-772.521301,2423.724853,157.087783);
AddStaticPickup(334,2,-1619.971313,692.055297,7.187500);
AddStaticPickup(336,2,-2307.096679,207.201675,35.351562);
AddStaticPickup(367,2,1538.472290,-1365.760131,329.460937);

can you tell me exactly how to add them?
i mean what to write in the pwn file


Re: Creating pickups - Godhimself - 03.08.2011

www.wiki.sa-mp.com search AddStaticPickup it will tell you all the field meanings.


Re: Creating pickups - Jafet_Macario - 03.08.2011

pawn Код:
AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
model = https://sampwiki.blast.hk/wiki/Pickup_help
type = https://sampwiki.blast.hk/wiki/PickupTypes


Re: Creating pickups - FireCat - 03.08.2011

Add them under
public OnPlayerGameModeInit()


Re: Creating pickups - davidnking - 03.08.2011

not working .. can you tell me what is the whole pestebin or exactly what to write i mean everything


Re: Creating pickups - Guest3598475934857938411 - 03.08.2011

Um you got to share code with us in order to implement them to your script.