cmd:mask Not working
#1

Hello Guys,

Here is my command :-
pawn Код:
CMD:mask(playerid, params[])
{
     if(class[playerid][Sniper] == 1)
     {
        SetPlayerAttachedObject(playerid, 1, 19037, 2, 10, 4.7, 0.0, 90, 90, 0);
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            ShowPlayerNameTagForPlayer(i, playerid, 0); // ShowPlayerNameTagForPlayer(i, playerid, 0) hide name for all players
            SetPlayerMarkerForPlayer(i,playerid,0);
        }
     }
     if(class[playerid][Sniper] == 0)
     {
        SendClientMessage(playerid, COLOR_RED,"You Need to be in Sniper Class to Use this command");
     }
     return 1;
}
Player can be seen on Map.
I Want that Player cant be seen on map and he/she should get an object attched : hockey mask id : 19037

Thanks.
Reply


Messages In This Thread
cmd:mask Not working - by Avi57 - 13.06.2013, 08:23
Re: cmd:mask Not working - by MyNinja - 13.06.2013, 08:29
Re: cmd:mask Not working - by ProjectFutureRolePlay - 13.06.2013, 08:31
Re: cmd:mask Not working - by MyNinja - 13.06.2013, 08:35
Re: cmd:mask Not working - by ProjectFutureRolePlay - 13.06.2013, 09:16

Forum Jump:


Users browsing this thread: 1 Guest(s)