spawn problem..
#1

hey..
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}
}; 
and i use it like that:

PHP код:
        new rand random(sizeof(TDMSpawn));
        
SetPlayerPos(playerid,TDMSpawn[rand][0],TDMSpawn[rand][1],TDMSpawn[rand][2]); 
and it didnt work... its send the player to the air and then to a place like a farm...
Reply


Messages In This Thread
spawn problem.. - by RoiKy - 23.01.2011, 15:07
Re: spawn problem.. - by xPawn - 23.01.2011, 15:56
Re: spawn problem.. - by xPawn - 24.01.2011, 07:48
Re: spawn problem.. - by Fool - 24.01.2011, 07:52
Re: spawn problem.. - by Stigg - 24.01.2011, 07:52
Re: spawn problem.. - by Fool - 24.01.2011, 07:53
Re: spawn problem.. - by Stigg - 24.01.2011, 07:57
Re: spawn problem.. - by iggy1 - 24.01.2011, 07:59
Re: spawn problem.. - by Lorenc_ - 24.01.2011, 08:03
Re: spawn problem.. - by RoiKy - 24.01.2011, 12:42

Forum Jump:


Users browsing this thread: 3 Guest(s)