I need to complete my racing script
#1

Hello,
Please i need help with this script because the San Fierro map is clean in my GM and useless,
so i will explain to you all what i want you to do it for me,
At first, if a player types /joinrace near those coords (range=4) :
Код:
g_Object[10] = CreateObject(2878, -2807.7458, -471.7142, 7.3435, 0.0000, 0.0000, 53.9999); //CJ_Victim_DOOR
he will teleported inside the race start with an infernus(car health must be infinite)(one of the 14 "slots")+ must be freezed , +all server players must receive an Announce (sendclientmessage) to join the race
The race must be started only with a RCON command : /startrace
If race starts , this gate must move fast :
Код:
g_Object[42] = CreateObject(980, -2821.9953, -414.1422, 8.8947, 0.0000, 0.0000, 0.0000); //airportgate
and the players must be unfreezed(of course the players inside the race)
Any player can join the race even if the race was started!
..............................THE RACE..................................
After the RCON command /startrace , no one
If a player typed /cancelrace OR he didn't reached a checkpoint in 20seconds(a textdraw countdown please ) the checkpoint will be removed and the player will be teleported outside the race near the race door with a kick from race reason(textdraw)
..............................AFTER THE RACE........................
if someone comes at the last checkpoint , he must get a 10000$ and the second must get 9000$ and the third must get 6000$ ,and all the players must teleport outside near the race door (VictimDoor) and race+gate must close (so if they join again the race will not start before the RCON admin types /startrace again) then server must announce the winners
Note: the race slots must be ordered by the first who joins to the last (not randomly)
Note2: Sorry for my bad english
Pictures and Coords:
Car slot coords:
Код:
1 - LEAVE IT AS XYZ
2 - LEAVE IT AS XYZ
3 - LEAVE IT AS XYZ
4 - LEAVE IT AS XYZ
5 - LEAVE IT AS XYZ
6 - LEAVE IT AS XYZ
7 - LEAVE IT AS XYZ
8 - LEAVE IT AS XYZ
9 - LEAVE IT AS XYZ
10 - LEAVE IT AS XYZ
11 - LEAVE IT AS XYZ
12 - LEAVE IT AS XYZ
13 - LEAVE IT AS XYZ
14 - LEAVE IT AS XYZ
Pictures:


The Basic Script (only checkpoints)(pastebin):
http://pastebin.com/7nHddqes
Help!Your help credits will be aded to this fs
Reply


Messages In This Thread
I need to complete my racing script - by Youssefree - 08.07.2016, 16:58
Re: I need to complete my racing script - by Youssefree - 08.07.2016, 18:27
Re: I need to complete my racing script - by Mencent - 08.07.2016, 19:15
Re: I need to complete my racing script - by Youssefree - 08.07.2016, 19:35
Re: I need to complete my racing script - by Mencent - 08.07.2016, 19:41
Re: I need to complete my racing script - by Youssefree - 08.07.2016, 19:44
Re: I need to complete my racing script - by Youssefree - 08.07.2016, 20:31
Re: I need to complete my racing script - by Youssefree - 08.07.2016, 20:53
Re: I need to complete my racing script - by Mencent - 08.07.2016, 20:59
Re: I need to complete my racing script - by Youssefree - 08.07.2016, 21:02

Forum Jump:


Users browsing this thread: 2 Guest(s)