10.03.2012, 02:08
Hello. I've been looking around the forums, and I can't seem to find anything to help me with this problem. I'm trying to make a very simple race. So when a player spawns, they'll spawn in a certain vehicle, and line up by one another. I don't want to just use
Because they'll spawn right ontop of each other. Would I need to do something like this?
If I do, how would I put a player in a vehicle? I've tried PutPlayerInVehicle, but they never seem to spawn in it.
Any help would be greatly appreciated. This is my first attempt at making a race, thanks.
pawn Код:
SetPlayerPos
pawn Код:
new Float:RandomSpawns[][] =
{
{2788.5237,-1783.2423,39.4115}, // Randomspawn
{2730.4958,-1813.5750,39.8603}, // Randomspawn
{2689.3464,-1754.2125,40.9982}, // Randomspawn
{2730.0369,-1705.9900,39.6468}, // Randomspawn
{2757.5171,-1713.3196,40.4796} // Randomspawn
};
Any help would be greatly appreciated. This is my first attempt at making a race, thanks.