16.07.2010, 08:08
I need script for change new player respawn place
Sorry bad my english
Sorry bad my english
new Float:RandomSpawn[][13] = {
{-2515.8137,1544.4116,17.3281},// 1.
{-2498.4128,1547.0276,24.1719},// 2.
{-2472.5112,1544.6976,36.8047},// 3.
{-2430.9622,1542.7004,31.8594},// 4.
{-2394.3989,1548.0095,31.8594},// 5.
{-2343.6572,1546.0992,26.0469},// 6.
{-2312.6807,1545.8468,18.7734},// 7.
{-2441.2373,1550.6726,20.2344},// 8.
{-2369.0574,1552.5918,2.1172}, // 9.
{-2397.0483,1540.1896,7.9219}, // 10.
{-2418.2493,1556.1639,10.8281},// 11.
{-2437.3655,1538.9175,11.7656} // 12.
};
OnPlayerSpawn
{
SetPlayerPos(playerid, RandomSpawn[iRandom][0], RandomSpawn[iRandom][1], RandomSpawn[iRandom][2]), SetPlayerFacingAngle(playerid, RandomSpawn[iRandom][3]);
return 1;
}