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
#2

pffffffffff , i think that i will get no help
Reply
#3

Hello!

I think nobody want to write so much code for you. Maybe you try this yourself and when you have questions you can feel free to ask.
Reply
#4

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

I think nobody want to write so much code for you. Maybe you try this yourself and when you have questions you can feel free to ask.
Please help me , i faced alot of problems before and you are only who helped me to fix it
But now i'm confused ! can you help me please!!
Reply
#5

Well. I help you, that's no problem. But we both work together.

I think we start with the command "/joinrace". Can you send me the 14th coordinates of the start places?
Reply
#6

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Well. I help you, that's no problem. But we both work together.

I think we start with the command "/joinrace". Can you send me the 14th coordinates of the start places?
I have a problem so i can't see Raw saves , sorry, can you leave it as XYZ ?
I will solve it tomorrow
EDIT : i will solve it NOW , just wait pls
Reply
#7

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Well. I help you, that's no problem. But we both work together.

I think we start with the command "/joinrace". Can you send me the 14th coordinates of the start places?
Thanks for your patience , the /rs didn't work , so i use /save (y)
Код:
AddStaticVehicle(411,-2824.0039,-427.6653,6.7661,2.2123,203,222); // 1
AddStaticVehicle(411,-2819.6379,-427.0293,6.7661,4.8471,203,222); // 2
AddStaticVehicle(411,-2823.9612,-434.4253,6.7661,1.8761,203,222); // 3
AddStaticVehicle(411,-2819.2588,-434.2224,6.7661,3.9896,203,222); // 4
AddStaticVehicle(411,-2823.5215,-441.6822,6.7661,3.4580,203,222); // 5
AddStaticVehicle(411,-2819.0369,-440.9862,6.7661,4.0346,203,222); // 6
AddStaticVehicle(411,-2822.8516,-448.9981,6.7661,7.3302,203,222); // 7
AddStaticVehicle(411,-2818.2061,-447.7987,6.7661,9.9531,203,222); // 8
AddStaticVehicle(411,-2820.7480,-456.4541,6.7661,20.0191,203,222); // 9
AddStaticVehicle(411,-2816.6711,-454.4347,6.7661,20.6467,203,222); // 10
AddStaticVehicle(411,-2817.3955,-463.4321,6.7661,33.4693,203,222); // 11
AddStaticVehicle(411,-2813.7688,-460.4954,6.7661,31.8096,203,222); // 12
AddStaticVehicle(411,-2812.2830,-469.7811,6.8356,46.6252,203,222); // 13
AddStaticVehicle(411,-2808.9436,-466.4615,6.8417,42.1020,203,222); // 14
If you see me offline , don't worry , i'm browsing samp forum from tablet xD
Reply
#8

Done , what's next?
Reply
#9

Did you test this? Does it work?
Reply
#10

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Did you test this? Does it work?
Ah ok , i will compile it and see if it work
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)