13.06.2013, 08:23
Hello Guys,
Here is my command :-
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.
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;
}
I Want that Player cant be seen on map and he/she should get an object attched : hockey mask id : 19037
Thanks.