SA-MP Forums Archive
dynamic cp issue - 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: dynamic cp issue (/showthread.php?tid=435945)



dynamic cp issue - BossZk - 09.05.2013

The issue is that the dynamic cp is working perfectly fine for the position I set it for, but it isn't showing up, instead it shows up underneath the map, here are some pics to show you guys what i mean (you can look at the mini-map which shows that the checkpoint is at my level or not)






Re: dynamic cp issue - RajatPawar - 09.05.2013

1) You have sobiet - you'll probably be getting a ban.
2) Just add the Z co - ords to every checkpoint's co - ordinates and see if it changes anything.


Re: dynamic cp issue - BossZk - 09.05.2013

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
1) You have sobiet - you'll probably be getting a ban.
2) Just add the Z co - ords to every checkpoint's co - ordinates and see if it changes anything.
1) its my server, so certainly not
2) If i change the Z co-ords on that checkpoint it stays there


Re: dynamic cp issue - [KHK]Khalid - 09.05.2013

https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint

Quote:

Originally Written by SAMP Wiki

Known Bug: Checkpoints created on server-created objects (CreateObject/CreatePlayerObject) will appear down on the 'real' ground, but will still function correctly. There is no fix available for this issue. A pickup can be used instead.




Re: dynamic cp issue - BossZk - 09.05.2013

Quote:
Originally Posted by [KHK]Khalid
Посмотреть сообщение
that explains it, thanks, on to a pickup i go


Re: dynamic cp issue - RajatPawar - 09.05.2013

Or if you want something like a checkpoint, you can use object 19182 -

and then, SetObjectMaterial to red. Then detecting IsPlayerInRangeOfPoint..


Re: dynamic cp issue - BossZk - 10.05.2013

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
Or if you want something like a checkpoint, you can use object 19182 -

and then, SetObjectMaterial to red. Then detecting IsPlayerInRangeOfPoint..
Thanks man, that might come in handy aswell