Problem with SetPlayerMarkerForPlayer
#5

try this

Код:
if(InPaintball[playerid] == 1)  
        {  
            SetPlayerVirtualWorld(playerid, 1);  
            if(PaintballGun == 1) GivePlayerWeapon(playerid, 31, 1000);  
            else if(PaintballGun == 2) GivePlayerWeapon(playerid, 32, 1000);  
            else if(PaintballGun == 3) GivePlayerWeapon(playerid, 24, 1000);  
            else if(PaintballGun == 4) GivePlayerWeapon(playerid, 27, 1000);  
            new randspawn = random(sizeof(RandomSpawnWar));  
            SetPlayerInterior(playerid, 10);  
            SetPlayerPos(playerid, RandomSpawnWar[randspawn][0], RandomSpawnWar[randspawn][1], RandomSpawnWar[randspawn][2]);  
            for(new i = 0; i < MAX_PLAYERS; i++)  
            {  
                if(InPaintball[i] == 1 && IsPlayerConnected(i))  
                {  
                    SetPlayerMarkerForPlayer( playerid, i, GetPlayerColor(i) | 0x000000FF );  
                    SetPlayerMarkerForPlayer( i, playerid, GetPlayerColor(playerid) | 0x000000FF );  
                }  
            }  
            return 1;  
        }
Reply


Messages In This Thread
Problem with SetPlayerMarkerForPlayer - by Edw - 13.07.2015, 15:49
Re: Problem with SetPlayerMarkerForPlayer - by MasterReturnz - 13.07.2015, 20:46
Re : Problem with SetPlayerMarkerForPlayer - by KillerDVX - 14.07.2015, 03:00
Re: Problem with SetPlayerMarkerForPlayer - by Edw - 16.07.2015, 18:19
Re: Problem with SetPlayerMarkerForPlayer - by TenTen - 16.07.2015, 18:49

Forum Jump:


Users browsing this thread: 4 Guest(s)