How can I create a fake checkpoint?
#1

Hi, how can I create a fake control point?

I'll leave a picture with a model here: https://imgur.com/a/XMCsVVD
The first time I thought it would be an object but I do not find such an object in the list of objects on wiki.sa-mp.com or on other sites only much larger checkpoints.
Reply
#2

if you use 0.3DL you can create a custom cp

or use this: https://sampforum.blast.hk/showthread.php?tid=644519 which will work on other versions too.
Reply
#3

That checkpoint is a mission checkpoint and can be achieved by using a MapIcon with types MAP_ICON_LOCAL_CHECKPOINT and MAP_ICON_GLOBAL_CHECKPOINT.

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

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

If you don't want it to show a MapIcon use iconid 0 and color 0 (0x00000000).

There will be no callback called whatsoever when entered though, so you need to use a dynamic area or manually check if a player is in there.


Alternatively use the base checkpoint model [1317] (which appears to be white and bugged as object) BUT it will turn into a red Checkpoint when used as Pickup (with the advantage of being detectable via OnPlayerPickUpPickup and NOT floating when used on custom objects - which regular checkpoints and mission checkpoints will do).

Actually you can use these 3 Models as Pickups for different types of checkpoints:

Код:
 1317 = cylinder
 1316 = hoop
 1559 = diamond checkpoint thing
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)