Race positions.
#1

How can i make it say "Tigerbeast11 has finished the race is 9th position." in a race? I wanna make a race but i dont wanna say, "%s has finished"


I wanna say "%s has finished in 3rd place" or something...
Reply
#2

use something like this:

Код:
new playerposition = 0;
Код:
onplayerenterracecheckpoint //last checkpoint, finish
playerposition += 1;
sendclientmessage( ... "%s ended as # %i", playerposition);
Код:
//when race ends (when last person ends)
playerposition == 0;
Reply
#3

Quote:
Originally Posted by °ғαιιοцт°
use something like this:

Код:
new playerposition = 0;
Код:
onplayerenterracecheckpoint //last checkpoint, finish
playerposition += 1;
sendclientmessage( ... "%s ended as # %i", playerposition);
Код:
//when race ends (when last person ends)
playerposition == 0;
Thnx, I get the rest, but:

Quote:

//when race ends (when last person ends)
playerposition == 0;

where do i put that?
Reply
#4

there must be a place in your code that is called when the race ends, it's probably at OnPlayerEnterRaceCheckPoint
Reply
#5

k, thnx!
Reply
#6

no problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)