Position.
#1

Hey, can someone show me a example of how to code a race positon counter like 1st/(the amount of players who join the race)? Seems like i can't code my own.
Reply
#2

you mean that you want to make a check points?
Reply
#3

Well no. I mean if someone can show me how to make a race position since i don't know how to code one. You know, when you join a race, you can see what position you are in the race and the amount of racers in the race and this positions are in a textdraw.
Reply
#4

Its not that simple as it sounds. First you probably are using checkpoints, so you have to keep track how many checkpoints player passed, depending on that generate preliminary positions, after that rearrange positions for players that have same amount of picked up checkpoints depending distance to next checkpoint. So simply put it, its not just a simple counter, you need to handle many things like position changing, checkpoints count, players leaving server/race, players dying etc...

Nobody is gonna give you full system, my advice is to check Adrenaline Racing GM
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)