23.01.2011, 15:07
hey..
i make a TDM system and i have a problem..
and i use it like that:
and it didnt work... its send the player to the air and then to a place like a farm...
i make a TDM system and i have a problem..
PHP код:
new Float:TDMSpawn[][3] =
{
{-2100.1328,-275.8592,35.3203},
{-2136.8108,-276.5698,35.3203},
{-2136.2761,-238.6222,35.3203},
{-2098.9109,-196.9363,35.3203},
{-2155.8967,-224.4192,35.3203},
(-2154.4788,-191.3053,35.3203),
(-2148.6934,-183.5631,35.3203),
(-2119.3906,-178.8080,35.3203),
(-2152.0713,-148.9486,36.4875),
(-2156.2773,-173.7079,35.3203),
(-2155.0154,-112.0047,35.3203),
(-2154.8555,-84.9406,35.3203),
(-2137.3311,-82.3819,35.3273),
(-2098.4006,-83.0742,35.3273),
(-2097.6616,-110.6172,35.3203),
(-2112.1028,-111.5435,35.3203),
(-2137.3740,-115.2843,35.3273),
(-2145.5188,-112.1664,41.5820),
(-2098.5171,-176.9662,35.3203),
{-2111.8049,-151.4789,35.3203}
};
PHP код:
new rand = random(sizeof(TDMSpawn));
SetPlayerPos(playerid,TDMSpawn[rand][0],TDMSpawn[rand][1],TDMSpawn[rand][2]);