pawn Код:
new n[24];
GetPlayerName(playerid, n, 24);
if (strcmp("/cctv", cmdtext, true) == 0)
{
if(strcmp(pname, "YourName", true) != 0)
return SendClientMessage(playerid,0xFF6347AA, " You shouldn't use this command with your name."); PlayerMenu[playerid] = 0;
TogglePlayerControllable(playerid, 0);
ShowMenuForPlayer(CCTVMenu[0], playerid);
return 1;
}