SetPlayerMarkerForPlayer HELP! +Rep
#5

pawn Код:
#define COLOR_TRANSPARENT_MAP 0xFFFFFF00


         case SNIPER:
        {
            TogglePlayerControllable(playerid, 1);
            ResetPlayerWeapons(playerid);
            GivePlayerWeapon(playerid, 23, 200);//silent pistol
            GivePlayerWeapon(playerid, 34, 250);//sniper
            GivePlayerWeapon(playerid, 29, 250);//mp5
            GivePlayerWeapon(playerid, 4, 1);//knife
            RemovePlayerMapIcon(playerid, 0);
                SetPlayerColor(playerid,COLOR_TRANSPARENT_MAP);
        }
or
pawn Код:
#define COLOR_TRANSPARENT_MAP 0xFFFFFF00
case SNIPER:
        {
            TogglePlayerControllable(playerid, 1);
            ResetPlayerWeapons(playerid);
            GivePlayerWeapon(playerid, 23, 200);//silent pistol
            GivePlayerWeapon(playerid, 34, 250);//sniper
            GivePlayerWeapon(playerid, 29, 250);//mp5
            GivePlayerWeapon(playerid, 4, 1);//knife
            RemovePlayerMapIcon(playerid, 0);
for(new i = 0; i < MAX_PLAYERS; i++) // use foreach if u want.
{
if(IsPlayerConnected(i))
{
SetPlayerMarkerForPlayer(i, playerid,COLOR_TRANSPARENT_MAP);
}
}
        }
Reply


Messages In This Thread
SetPlayerMarkerForPlayer HELP! +Rep - by Charalambos26 - 28.05.2015, 12:19
Re: SetPlayerMarkerForPlayer HELP! +Rep - by Gammix - 28.05.2015, 14:02
Re: SetPlayerMarkerForPlayer HELP! +Rep - by Charalambos26 - 28.05.2015, 14:05
Re: SetPlayerMarkerForPlayer HELP! +Rep - by Gammix - 28.05.2015, 14:11
Re: SetPlayerMarkerForPlayer HELP! +Rep - by DaniceMcHarley - 28.05.2015, 14:11
Re: SetPlayerMarkerForPlayer HELP! +Rep - by Charalambos26 - 28.05.2015, 14:19
Re: SetPlayerMarkerForPlayer HELP! +Rep - by FplayerGR - 28.05.2015, 14:32
Re: SetPlayerMarkerForPlayer HELP! +Rep - by ]Rafaellos[ - 28.05.2015, 14:35
Re: SetPlayerMarkerForPlayer HELP! +Rep - by Charalambos26 - 28.05.2015, 14:45
Re: SetPlayerMarkerForPlayer HELP! +Rep - by FplayerGR - 28.05.2015, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)