Getting rid of SERVER: Unknown Command?
#5

Add a return 1 at the end of the command:

pawn Код:
if (strcmp(cmd, "/fix", true) ==0 )
    {
      if(PlayerInfo[playerid][pLevel] >= 1)
    {
            RepairVehicle(GetPlayerVehicleID(playerid));
        }
        else if(PlayerInfo[playerid][pLevel] < 1)
        {
            SendClientMessage(playerid,COLOR_GREY, "[Kluda:] Tev nav 1. limenis!");
        }
        return 1; // HERE
    }
Reply


Messages In This Thread
Getting rid of SERVER: Unknown Command? - by rumbiic - 03.01.2010, 15:37
Re: Getting rid of SERVER: Unknown Command? - by Eazy_Efolife - 03.01.2010, 15:44
Re: Getting rid of SERVER: Unknown Command? - by rumbiic - 03.01.2010, 15:54
Re: Getting rid of SERVER: Unknown Command? - by radi - 03.01.2010, 15:56
Re: Getting rid of SERVER: Unknown Command? - by MadeMan - 03.01.2010, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)