Posts: 94
Threads: 27
Joined: Jul 2015
Reputation:
0
So, how can I create races with checkpoints? Like if a player type /race, he'll be teleported to a specific location and then the checkpoints will be shown for him and all that stuff, when he pass through one CP another will appear (hope you get the point).
Posts: 94
Threads: 27
Joined: Jul 2015
Reputation:
0
Can you give me an example on how to put this together?
Posts: 244
Threads: 4
Joined: Oct 2006
Reputation:
0
Do you know any scripting at all?
Basically have an array of your points for the checkpoints, have a variable which tracks each players checkpoint id. When the player enters the command set their vehicle position to where the race is, then set the first checkpoint. When they go through a checkpoint the function OnPlayerEnterCheckpoint will be called, just increase their checkpoint id by 1 then set their new checkpoint and so on until the end
Posts: 109
Threads: 23
Joined: Apr 2015
Reputation:
0
pff you can use filterscripts for races,just search and you will find some.Good luck!!!..
Posts: 94
Threads: 27
Joined: Jul 2015
Reputation:
0
I tried a few, none worked... I'm trying something else
Posts: 94
Threads: 27
Joined: Jul 2015
Reputation:
0
I tried! But when I downloaded it only gave me .pwn and when I tried to compile it I received 2 errors
Posts: 94
Threads: 27
Joined: Jul 2015
Reputation:
0
Tried Ryder's once again... Dunno what happend but it don't create the race...
Can someone please give me an example on how to when the player go through one CP, another will appear..