22.02.2009, 18:15
Hey, i've set out 8 vehicle spawns for a minigame...
the player types in a command, the minigame signup timer is activated.
Then the vehicles are spawned in world 200. If nobody else joins the minigame, then the player gets a message saying it was cancelled, gets a refund of the money, and the vehicles are destroyed.
If somone else does join the minigame, im wanting it to put each of the players who joined, into one of the vehicles.
So if theres three players in the minigame, each of the players will be put in one of the vehicles, then the 3 taken vehicles will be put into virtualworld 111
I've had it working as far as, spawning the vehicles, the vehicles destroying if there aren't enough players joined. The part im having trouble with is the players being put into a sepperate vehicle, then those vehicles being set into world 111. i can set the vehicles and the players into world 111, but when PutPlayerInVehicle is used, the first player is put into the vehicle, then is carjecked by the next player..
So how can i put each player into 1 of 8 vehicles?
the player types in a command, the minigame signup timer is activated.
Then the vehicles are spawned in world 200. If nobody else joins the minigame, then the player gets a message saying it was cancelled, gets a refund of the money, and the vehicles are destroyed.
If somone else does join the minigame, im wanting it to put each of the players who joined, into one of the vehicles.
So if theres three players in the minigame, each of the players will be put in one of the vehicles, then the 3 taken vehicles will be put into virtualworld 111
I've had it working as far as, spawning the vehicles, the vehicles destroying if there aren't enough players joined. The part im having trouble with is the players being put into a sepperate vehicle, then those vehicles being set into world 111. i can set the vehicles and the players into world 111, but when PutPlayerInVehicle is used, the first player is put into the vehicle, then is carjecked by the next player..
So how can i put each player into 1 of 8 vehicles?