04.03.2014, 22:13
Topo do GM
em
PHP код:
new Float:SpawnDiferente[5][3] =
{
{1807.0757,-1690.0712,13.5457},
{1379.6189,-1659.0195,13.5457},
{1409.3663,-1306.9072,9.2937},
{1340.3314,-1775.7716,13.5114},
{2426.0017,-1230.0343,24.9293}
};
PHP код:
OnPlayerSpawn
PHP код:
new rand = random(sizeof(SpawnDiferente));
SetPlayerPos(playerid, SpawnDiferente[rand][0], SpawnDiferente[rand][1], SpawnDiferente[rand][2]);