SA-MP Forums Archive
problem with the health 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)
+--- Thread: problem with the health pickup (/showthread.php?tid=658470)



problem with the health pickup - severance - 04.09.2018

PHP код:
new HP_PICKUP
PHP код:
    new FloatPos[3];
    
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);
    
HP_PICKUP CreatePickup(12401Pos[0], Pos[1], Pos[2], -1); 
Why when i see the pickup and try to take it, suddenly it kinda, stop my PG from an invisible object that makes the pickup hard to reach?

I mean theres something that stops you from taking it.. but yeah i can take it but its not good to see that


Re: problem with the health pickup - sonn51280 - 05.09.2018

what ? I do not understand


Re: problem with the health pickup - Sew_Sumi - 05.09.2018

Quote:
Originally Posted by sonn51280
Посмотреть сообщение
what ? I do not understand
When he spawns it, it's like there's an area around it he cannot enter...


At least that's what I gathered, but the code shouldn't be making this happen though too, so it could be something else in the script causing it.