09.12.2011, 13:31
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;
}