01.03.2014, 10:28
Hello everyone, i have problem with race positions. I making mini race system for my server and i have problem. I can't make that when play types: /race he will be spawned in position, secon player in second position, third player...About 20 players and 20 positions. I don't want that player will be spawned in same position, and i no need random spawns. So maybe someone knows how to do that?
My script who doesn't work...:
Thank you for help ;]
My script who doesn't work...:
Код:
new Float:StartPositions[20][3] =
{
{-1418.0464,-667.8558,1058.8853},
{-1417.5392,-666.5084,1058.8463},
{-1417.3503,-665.3151,1058.8364},
{-1417.2483,-663.8860,1058.8359},
{-1417.2594,-662.3469,1058.8485},
{-1417.2816,-660.4011,1058.8645},
{-1413.5150,-668.1015,1058.4664},
{-1413.2587,-666.8832,1058.4520},
{-1413.2622,-665.5123,1058.4636},
{-1412.9541,-663.9665,1058.4440},
{-1412.9523,-662.5579,1058.4547},
{-1412.8295,-660.3596,1058.4595},
{-1409.5519,-667.6078,1058.1082},
{-1409.2167,-666.0783,1058.0879},
{-1409.0236,-664.5811,1058.0840},
{-1409.0116,-662.9490,1058.0924},
{-1408.7771,-661.2306,1058.0844},
{-1405.8873,-666.8409,1057.7815},
{-1405.4391,-665.3012,1057.7515},
{-1405.0856,-662.0101,1057.7426}
};
Код:
SetVehiclePos(playerid,SpawnPos[playerid][0],SpawnPos[playerid][1],SpawnPos[playerid][2]);




Thanks a lot for you ;]