vc温馨都市吧 关注:2贴子:121
  • 0回复贴,共1

【分享】服务器玩家随机出生

只看楼主收藏回复

放在脚本上面
new Float:RandSpawn[9][4]{
{-1103.1996,-1349.5751,11.4883 339.8172},
{-760.3550,-1601.0502,23.7350,340.0836},
{132.5896,344.1758,19.1540,96.6540},
{-36.4351,946.6391,10.9403,79.4204},
{-287.1373,1164.5521,41.7482,154.6066},
{-707.3397,1452.4227,69.5457,105.9930},
{-833.7073,1430.6106,28.0359,64.6325},{-743.0314,1508.0840,39.8692,173.3368},
{-1341.3104,1315.2117,83.8882,84.3494}
};
放在玩家出生那里
new rand = random(sizeof(RandSpawn));
SetPlayerPos(playerid,RandSpawn[rand][0],RandSpawn[rand][1],RandSpawn[rand][2],RandSpawn[rand][3],0);
爪机手打。。找不到坐标直接用了一些打架地点,所以那些坐标要自己修改。。。


来自Android客户端1楼2013-10-05 10:58回复