Quote:
Originally Posted by dorperez
Here it is:
pawn Код:
if(strcmp("/cctv", cmdtext, true) == 0) { if(Spawned[playerid] == 1) { PlayerMenu[playerid] = 0; TogglePlayerControllable(playerid, 0); ShowMenuForPlayer(CCTVMenu[0], playerid); } else { SendClientMessage(playerid, 0xFF0000AA, "Please spawn first!"); } return 1; }
|
Change the
/cctv to whatever you like for your command