Problem with pickup - 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: Problem with pickup (
/showthread.php?tid=276244)
Problem with pickup -
orrgoren11 - 13.08.2011
I got this line:
Pickup[c] = CreatePickup(1272, 1, X, Y, Z, -1);
It created the pickup, but the pickup disappears ... ( 1 = Not pickupable, exists all the time.)
What is the problem ?
thank you.
Re: Problem with pickup -
Babul - 13.08.2011
try to use the pickup type 23
Код:
Pickup[c] = CreatePickup(1272, 23, X, Y, Z, -1);
the "not pickupable" relates to if a player can pick it up by touching it. so its a "display only" purpose. the type 23 will get picked up on foot, and it will stay there. i guess you want to use it as a house entrance..