problem with markers to the 200 players
#1

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!
Reply
#2

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?
Reply
#3

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!
Reply
#4

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...
Reply
#5

I read it from here

https://sampforum.blast.hk/showthread.php?tid=181160
Reply
#6

Then you do what's said in there.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)