Posts: 266
Threads: 34
Joined: Feb 2015
Reputation:
0
When I reach 200 players, checkpoints stop working.
I know that it can be solved using ShowPlayerMarkers. The problem is that I can not use ShowPlayerMarkers because I need to use SetPlayerMarkerForPlayer for the police when looking for the criminals.
My idea is that you can deactivate the markers to all players, except the cops, is that possible?
Any suggestions? : |
Thank you!
Posts: 6,242
Threads: 8
Joined: Jun 2008
Generally means you're using code that's from a long time ago, that doesn't account for MAX_PLAYERS being changed.
Do you know how your script actually works with markers at all, or you are simply going to slap in ShowPlayerMarkers to 'fix' it, not caring about how the rest of the script does things.
The reason I say this, is this is a problem in the old GodFather script, and if you actually don't understand that script, I'd highly suggest not using it as a basis for your current work.
As the edits came out, they had feature after feature stacked upon each other, with complete disregard for the bugs that ACTUALLY needed fixing.
The subsequent 'bugs' were simply cut out of the script and had new, shittier code put in to 'fix' the issue... Which quite often wasn't actually a bug, it was the inability of anyone to actually understand the script and the how the bug was actually affecting it.
The checkpoint you are using, what's it actually a result of (Command)? And what edit did you use? (And if not GF, what script is it)
Is the script using the streamer?
Posts: 266
Threads: 34
Joined: Feb 2015
Reputation:
0
this is a problem of limitations of the gta, it does not allow to show so many markers at the same time ... my script has nothing to do.
And yes, I use streamer.
I do not use GF.
As I said earlier, this is a problem of GTA limitations and I want to see how to avoid this.
thanks!
Posts: 6,242
Threads: 8
Joined: Jun 2008
Where are you getting your information saying it's a limitation of GTA? And surely you don't refer to SA-MP as GTA in this sense, do you...
Posts: 6,242
Threads: 8
Joined: Jun 2008
Then you do what's said in there.