why the pickup not visible? - 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: why the pickup not visible? (
/showthread.php?tid=106032)
why the pickup not visible? -
BombaNick - 01.11.2009
I have a function
CreatePickup(1239,2,-2830.5649,2508.3345,6.1203);
but it's not visible,why?
Re: why the pickup not visible? -
MenaceX^ - 01.11.2009
Quote:
Originally Posted by Seif_
Put -1 as a last parameter, 0.3 requires an extra parameter for CreatePickup, which is the virtual world. -1 would make it visible in every virtual world.
|
It does it by default..
Re: why the pickup not visible? -
Correlli - 01.11.2009
Quote:
Originally Posted by MenaceX^
It does it by default..
|
Yes, but not for -1.
Check the a_samp.inc include:
pawn Код:
native AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, virtualworld = 0);
native CreatePickup(model, type, Float:X, Float:Y, Float:Z, virtualworld = 0);
As you can see, it's Virtualworld-ID 0.
Re: why the pickup not visible? -
MenaceX^ - 01.11.2009
Just did, but in mine is -1.. I must have changed it, I change alsmot everything.
Re: why the pickup not visible? -
BombaNick - 01.11.2009
It's still not working
Re: why the pickup not visible? -
Andom - 01.11.2009
Because i think you've got the wrong cords, because this position is inside a mountain:
[img width=1024 height=640]/imageshack/img264/5763/pos.png[/img]
Re: why the pickup not visible? -
BombaNick - 01.11.2009
i change the place but it's stiil not visible..