[Ajuda] Spawns variados para player!!
#2

topo do GM

PHP код:
    new Float:SpawnBoyzinho[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}
    }; 
OnPlayerSpawn

PHP код:
if(GetPlayerTeam(playerid) == 1)
(
    new 
rand random(sizeof(SpawnBoyzinho));
    
SetPlayerPos(playeridSpawnBoyzinho[rand][0], SpawnBoyzinho[rand][1], SpawnBoyzinho[rand][2]);

Ai se os boyzinhos forem a primeira gang, vai spawnar em diferentes locais
Reply


Messages In This Thread
Spawns variados para player!! - by Noobgamex - 06.03.2014, 15:15
Re: Spawns variados para player!! - by yNexus - 06.03.2014, 17:10
Re: yNexus - by Noobgamex - 06.03.2014, 20:12

Forum Jump:


Users browsing this thread: 1 Guest(s)