Guys how to make command /mask on /mask off for HITMAN AGENCY.I mean hitmans to use it only.Please tellme the code so i can put it in my script.i tryed everything but i can't.I will give rep too for the help.Thanks in advance.
pawn Код:
if (strcmp("/mask", cmdtext, true) == 0)
{
// Add your Hitman Agency Function here
ShowPlayerNameTagForPlayer(playerid, false);
return 1;
}
if (strcmp("/maskoff", cmdtext, true) == 0)
{
// Add your Hitman Agency Function here
ShowPlayerNameTagForPlayer(playerid, true);
return 1;
}