problom in spawn ..
#1

i did do spawn points and save them and add them 2 the mode
but some thing is wrong here ..
this up in the mode
Quote:

new Float:randomSpawn[18][3] = {
(1457.3940,2773.3762,10.8203),
(2026.3984,1000.9971,10.8203),
(2057.9458,863.0795,6.9573),
(2193.8147,1677.1129,12.3672),
(1710.2896,1615.4321,10.0903),

(1623.0256,1815.9717,10.8203),
(2206.5549,1285.5034,10.8203),
(2344.6221,1388.1173,42.8203),
(2415.7441,1121.3564,10.8203),
(2546.2944,1023.7031,10.8203),

(2566.2688,1326.7695,10.8203),
(2022.9060,1916.0720,12.3305),
(2371.5679,2169.0159,10.8255),
(2008.8800,2302.1409,10.8203),
(1661.6686,2252.5186,11.0701),

(2393.9746,593.0137,10.8222),
(2821.5322,2384.8953,11.0625),
(2633.1621,2350.2942,10.812
};

and this is on player spawn public
Quote:

public OnPlayerSpawn(playerid)
{
new rand = random(sizeof(randomSpawn));
SetPlayerPos(playerid, randomSpawn[rand][0], randomSpawn[rand][1], randomSpawn[rand][2]);
SetPlayerFacingAngle(playerid, 270.0);
GivePlayerMoney(playerid,1500);
GivePlayerWeapon(playerid,24,250);
return 1;
}

so what wrong ?
becuse when i am spawn im falling there
Reply


Messages In This Thread
problom in spawn .. - by rong13 - 30.03.2010, 09:12
Re: problom in spawn .. - by rong13 - 30.03.2010, 10:10
Re: problom in spawn .. - by Naruto4 - 30.03.2010, 10:35
Re: problom in spawn .. - by rong13 - 30.03.2010, 10:56
Re: problom in spawn .. - by rong13 - 30.03.2010, 13:04
Re: problom in spawn .. - by [03]Garsino - 30.03.2010, 13:07
Re: problom in spawn .. - by rong13 - 30.03.2010, 13:16
Re: problom in spawn .. - by jamesbond007 - 30.03.2010, 14:04

Forum Jump:


Users browsing this thread: 2 Guest(s)