[SOLVED] Maximum Dcmd's??
#5

restarted the server another time and issue is returned? checking the filterscripts on dcmd commands

This is as legal as a return 1; right?

pawn Код:
dcmd_cctv(playerid,params[])
    #pragma unused params
    if(IsPlayerCommandLevel(playerid,"cctv"))
    {
      if(Spawned[playerid] == 1)
        {
          PlayerMenu[playerid] = 0;
          TogglePlayerControllable(playerid, 0);
            ShowMenuForPlayer(CCTVMenu[0], playerid);
        }
        else
        {
          SendClientMessage(playerid, 0xFF0000AA, "Please spawn first!");
        }
        return 1;
    }else return SendLevelErrorMessage(playerid,"cctv");
And at the end of OnPlayerCommandText() there is a return 0... also alowed?

Grts Riz
Reply


Messages In This Thread
[SOLVED] Maximum Dcmd's?? - by Rizard - 27.08.2009, 18:24
Re: Maximum Dcmd's?? - by SiJ - 27.08.2009, 18:28
Re: Maximum Dcmd's?? - by [HUN]Gamestar - 27.08.2009, 18:30
Re: Maximum Dcmd's?? - by SiJ - 27.08.2009, 18:31
Re: Maximum Dcmd's?? - by Rizard - 27.08.2009, 18:40
Re: Maximum Dcmd's?? - by SiJ - 27.08.2009, 19:59
Re: Maximum Dcmd's?? - by Rizard - 27.08.2009, 21:02

Forum Jump:


Users browsing this thread: 1 Guest(s)