07.06.2014, 11:56
(
Последний раз редактировалось HeLiOn_PrImE; 07.06.2014 в 19:31.
)
Quote:
|
Great to hear you are using the include system! If you think anything could be improved, just let me know.
By the way, you can also use getPlayerRace(playerid) to check if the player is in any race. It will return -1 if not, and any other number if the player is in a race. |
And speaking of improvements, I don't know if it's easy to implement but some people would use a callback for when a player passes another player (he switches his place with another one). I saw a script yesterday with a 3d speedometer and I thought about NFS games. Players would have their place number attached to them all the time and it would change when they pass or get passed by. Maybe you could implement that yourself, idk. It's just an idea.



By the way, you can also use getPlayerRace(playerid) to check if the player is in any race. It will return -1 if not, and any other number if the player is in a race.