28.04.2009, 00:36
So I want to make something like a race starter.
like someone has to type /join and then they get teleported to the race and automatically put in a car. Also their controlles are frozen so they don't cheat. I don't know how to make it to where each player gets put in one out of the 12 cars. (so that way two don't get put in the same car)
cars:
V12 = AddStaticVehicle(506,564.58,-2395,5.8318,360,0,1); //12
V10 = AddStaticVehicle(506,564.58,-2382,5.8317,360,0,1); //10
V8 = AddStaticVehicle(506,564.58,-2369,5.8318,360,0,1); //8
V6 = AddStaticVehicle(506,564.58,-2356,5.8317,360,0,1); //6
V4 = AddStaticVehicle(506,564.58,-2343,5.8318,360,0,1); //4
V2 = AddStaticVehicle(506,564.58,-2330,5.8317,360,0,1); //2
//__________________________________________________ ___
V11 =AddStaticVehicle(506,557.89,-2395.5,5.8317,360,0,1); //11
V9 = AddStaticVehicle(506,557.89,-2382.5,5.8317,360,0,1); //9
V7 = AddStaticVehicle(506,557.89,-2369.5,5.8317,360,0,1); //7
V5 = AddStaticVehicle(506,557.89,-2356.5,5.8317,360,0,1); //5
V3 = AddStaticVehicle(506,557.89,-2343.5,5.8317,360,0,1); //3
V1 = AddStaticVehicle(506,557.89,-2330.5,5.8317,360,0,1); //1
sorry they're in weird order but they go from V1 to V12.
How do I make it to where everytime someone types /join they get put in a car starting from 1. Also how do I make a timer so that when either all the spots are filled or when 1 minute is up the race starts.
Sorry for asking
but I can't figure it out...
like someone has to type /join and then they get teleported to the race and automatically put in a car. Also their controlles are frozen so they don't cheat. I don't know how to make it to where each player gets put in one out of the 12 cars. (so that way two don't get put in the same car)
cars:
V12 = AddStaticVehicle(506,564.58,-2395,5.8318,360,0,1); //12
V10 = AddStaticVehicle(506,564.58,-2382,5.8317,360,0,1); //10
V8 = AddStaticVehicle(506,564.58,-2369,5.8318,360,0,1); //8
V6 = AddStaticVehicle(506,564.58,-2356,5.8317,360,0,1); //6
V4 = AddStaticVehicle(506,564.58,-2343,5.8318,360,0,1); //4
V2 = AddStaticVehicle(506,564.58,-2330,5.8317,360,0,1); //2
//__________________________________________________ ___
V11 =AddStaticVehicle(506,557.89,-2395.5,5.8317,360,0,1); //11
V9 = AddStaticVehicle(506,557.89,-2382.5,5.8317,360,0,1); //9
V7 = AddStaticVehicle(506,557.89,-2369.5,5.8317,360,0,1); //7
V5 = AddStaticVehicle(506,557.89,-2356.5,5.8317,360,0,1); //5
V3 = AddStaticVehicle(506,557.89,-2343.5,5.8317,360,0,1); //3
V1 = AddStaticVehicle(506,557.89,-2330.5,5.8317,360,0,1); //1
sorry they're in weird order but they go from V1 to V12.
How do I make it to where everytime someone types /join they get put in a car starting from 1. Also how do I make a timer so that when either all the spots are filled or when 1 minute is up the race starts.
Sorry for asking

but I can't figure it out...