ZCMD Unknown Command Problem
#1

Hey, I have this command, but whenever I use it, it shows "SERVER: Unknown command" but it does what it's supposed to do, why?

pawn Код:
CMD:exit(playerid)
{
    for(new i=0; i<MAX_HOUSES; i++)
    {
        new hid=i;
        new path[200];
        format(path, sizeof(path), "/Houses/%d.ini",hid);
        if(dini_Exists(path))
        {
            if(IsPlayerInRangeOfPoint(playerid,5,hInfo[InHouse[playerid]][EnterX],hInfo[InHouse[playerid]][EnterY],hInfo[InHouse[playerid]][EnterZ]))
            {
                SetPlayerInterior(playerid,0);
                SetPlayerVirtualWorld(playerid,0);
                SetPlayerPos(playerid,hInfo[InHouse[playerid]][ExitX],hInfo[InHouse[playerid]][ExitY],hInfo[InHouse[playerid]][ExitZ]);
                InHouse[playerid]=-1;
            }
        }
    }
    return 1;
}
How can i remove "SERVER: Unknown command", even though it's returning 1 and I'm not using OnPlayerCommandText?? Thanks.
Reply


Messages In This Thread
ZCMD Unknown Command Problem - by Vlad64 - 04.02.2014, 08:25
Re: ZCMD Unknown Command Problem - by Konstantinos - 04.02.2014, 08:33
Re: ZCMD Unknown Command Problem - by Vlad64 - 04.02.2014, 09:00
Re: ZCMD Unknown Command Problem - by Konstantinos - 04.02.2014, 09:08
Re: ZCMD Unknown Command Problem - by Vlad64 - 04.02.2014, 09:14
Re: ZCMD Unknown Command Problem - by Konstantinos - 04.02.2014, 09:17
Re: ZCMD Unknown Command Problem - by Wizz123 - 04.02.2014, 09:21

Forum Jump:


Users browsing this thread: 1 Guest(s)