Problem with SetPlayerMarkerForPlayer
#1

I put that when a player is spawneaza (if in paintball) to show him the players Markee arena but does not work at all
PHP код:
        if(InPaintball[playerid] == 1)
        {
            
SetPlayerVirtualWorld(playerid1);
            if(
PaintballGun == 1GivePlayerWeapon(playerid311000);
            else if(
PaintballGun == 2GivePlayerWeapon(playerid321000);
            else if(
PaintballGun == 3GivePlayerWeapon(playerid241000);
            else if(
PaintballGun == 4GivePlayerWeapon(playerid271000);
            new 
randspawn random(sizeof(RandomSpawnWar));
            
SetPlayerInterior(playerid10);
            
SetPlayerPos(playeridRandomSpawnWar[randspawn][0], RandomSpawnWar[randspawn][1], RandomSpawnWar[randspawn][2]);
            for(new 
0MAX_PLAYERSi++)
            {
                if(
InPaintball[i] == && IsPlayerConnected(i))
                {
                    
SetPlayerMarkerForPlayerplayeridiGetPlayerColor(i) );
                    
SetPlayerMarkerForPlayeriplayeridGetPlayerColor(playerid) );
                }
            }
            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: 2 Guest(s)