[Question] Is there a way to check...
#5

Quote:
Originally Posted by MenaceX^
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;
}
pname?
Reply


Messages In This Thread
[Question] Is there a way to check... - by Castle - 11.03.2009, 19:26
Re: [Question] Is there a way to check... - by Dujma - 11.03.2009, 19:30
Re: [Question] Is there a way to check... - by GTA_Rules - 11.03.2009, 19:32
Re: [Question] Is there a way to check... - by MenaceX^ - 11.03.2009, 19:32
Re: [Question] Is there a way to check... - by Dujma - 11.03.2009, 19:33
Re: [Question] Is there a way to check... - by MenaceX^ - 11.03.2009, 19:35
Re: [Question] Is there a way to check... - by Dujma - 11.03.2009, 19:37
Re: [Question] Is there a way to check... - by GTA_Rules - 11.03.2009, 19:38
Re: [Question] Is there a way to check... - by Dujma - 11.03.2009, 19:40
Re: [Question] Is there a way to check... - by MenaceX^ - 11.03.2009, 19:45

Forum Jump:


Users browsing this thread: 1 Guest(s)