π― [RELEASE] Per-Player Colored Checkpoints, Arrows & Decal Hoops
πΉ Introduction
Hey everyone! π I'm Dzherekarov (or Jerry), and Iβd like to share my filterscript with you. It can be turned into an include or even a plugin, but unfortunately, I'm both busy and lazy, so I wonβt be doing that. π
However, you are free to modify it as you wish!
I've always been annoyed with SA-MPβs built-in checkpoints, race checkpoints, enex arrows, and pickups, so I created a solution:
β Per-player colored checkpoints
β Custom arrows & rotating decal hoops
β 237 unique map marker IDs (0β237)
β Markers rotate and glow like real checkpoints
β No timers or TickCount used!
π’ Note: My native language is Bulgarian, so donβt judge me too harshly. Also, Iβm not a professional scripter, just a guy with patience!
π Requirements
To run this filterscript, you need:
πΉ
#include <YSF>
πΉ
#include <streamer>
Itβs my first time writing a thread, so donβt expect perfection! π
π Features & Usage
One of the best parts of this system is that you donβt need to manually track marker IDs. Everything is handled automatically.
β Adding a Map Marker
AddMapMarker(playerid, type = 0, Float:X, Float:Y, Float:Z, col = 0xAAAAAAAA, colh = 0xAADD1111, vw = 0, interior = 0, Float:DrawDist = 110.0, dtext[]="MARKER TAG", col3d = 0x00000000, testl = 1, Float:tdrawdist = 50.0);
π Markers are automatically indexed when created. No need to manually declare them!
π You can add markers in OnPlayerSpawn or OnPlayerConnect, and they will persist.
π Destroying a Marker
DestroyMarker(playerid, markerid);
π If you have 30 map markers, ID 1 is actually 0 (so valid IDs are 0β29).
π When you destroy ID 5, it becomes available again for the next marker you create.
π₯ Destroy All MarkersΒ DestroyAllMarkers(playerid);Β π Removes all markers for a player.
π Get a Marker IDΒ GetMarkerID(playerid, markerid); π Retrieves the valid ID of a marker.
π Filterscript Restart Behavior
πΉ Introduction
Hey everyone! π I'm Dzherekarov (or Jerry), and Iβd like to share my filterscript with you. It can be turned into an include or even a plugin, but unfortunately, I'm both busy and lazy, so I wonβt be doing that. π
However, you are free to modify it as you wish!
I've always been annoyed with SA-MPβs built-in checkpoints, race checkpoints, enex arrows, and pickups, so I created a solution:
β Per-player colored checkpoints
β Custom arrows & rotating decal hoops
β 237 unique map marker IDs (0β237)
β Markers rotate and glow like real checkpoints
β No timers or TickCount used!
π’ Note: My native language is Bulgarian, so donβt judge me too harshly. Also, Iβm not a professional scripter, just a guy with patience!
π Requirements
To run this filterscript, you need:
πΉ
#include <YSF>
πΉ
#include <streamer>
Itβs my first time writing a thread, so donβt expect perfection! π
π Features & Usage
One of the best parts of this system is that you donβt need to manually track marker IDs. Everything is handled automatically.
β Adding a Map Marker
AddMapMarker(playerid, type = 0, Float:X, Float:Y, Float:Z, col = 0xAAAAAAAA, colh = 0xAADD1111, vw = 0, interior = 0, Float:DrawDist = 110.0, dtext[]="MARKER TAG", col3d = 0x00000000, testl = 1, Float:tdrawdist = 50.0);
π Markers are automatically indexed when created. No need to manually declare them!
π You can add markers in OnPlayerSpawn or OnPlayerConnect, and they will persist.
π Destroying a Marker
DestroyMarker(playerid, markerid);
π If you have 30 map markers, ID 1 is actually 0 (so valid IDs are 0β29).
π When you destroy ID 5, it becomes available again for the next marker you create.
π₯ Destroy All MarkersΒ DestroyAllMarkers(playerid);Β π Removes all markers for a player.
π Get a Marker IDΒ GetMarkerID(playerid, markerid); π Retrieves the valid ID of a marker.
π Filterscript Restart Behavior
- Markers are automatically destroyed when the filterscript restarts.
- If you create them OnPlayerSpawn, the player must respawn after a restart to see them again.
π Important Notes
π These markers are per-player, so they do not use GlobalObject slots.
π You can place 50 markers around a player, but they are only visual effects.
π If you want interactions (e.g., triggers when entering a marker), use:- Pickups
- Streamer Areas
- Timers
π¬ Final Thoughts
This system is great for shops, player missions, and custom checkpoint systems.
Feel free to test, modify, and improve it!
Let me know if you have feedback or suggestions. Enjoy! π
some pics:Β
Β
Β
Β
Β
Β
Β
source code :Β https://pastebin.com/ZY0EMp1k
- Pickups