Posts: 577
Threads: 183
Joined: Jun 2013
Reputation:
0
Title says everything
I want to script a backup CMD which the CP remains on the player untill he aborts the backup
Posts: 6,242
Threads: 8
Joined: Jun 2008
This is Scripting Help not Script for you.
You need a timer, updating the checkpoint for the active backup call, with a loop checking those who are needing to respond, and setting them with a checkpoint to the players location.
Another option is to set PlayerMarkers Global, and set the Alpha on all the players colors to 00 so they don't show up "normally" then set
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer for each who need to see them.
Setting the alpha makes them invisible via markers, yet chat and playertag color will stay normal.
Quote:
Originally Posted by Lucky13
|
Won't work unless player markers are set to GLOBAL. Gotta set that Global...
Posts: 6,242
Threads: 8
Joined: Jun 2008
Again, pay attention, it won't work unless player markers are global, otherwise it'll be limited to a distance of 600, if that's what the stream distance for players is set to.