SetPlayerMarkerForPlayer wont work
#1

Why in onplayerspawn is my skin not invisible, and if i type /invisible he is?!

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(ClassSet[playerid] == 2)
    {
        foreach(Player,i)
         {
         SetPlayerMarkerForPlayer(i,playerid, ( GetPlayerColor( playerid ) & 0xFFFFFF00 ) );
         }
    }
}
pawn Код:
if(!strcmp(cmd,"/invisible",true))
    {
    if(ClassSet[playerid] == 2)
    {
        foreach(Player,i)
        {
        SetPlayerMarkerForPlayer(i,playerid, ( GetPlayerColor( playerid ) & 0xFFFFFF00 ) );
        }
    }
    return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)