can someone tell me how to use this
#1

Disable the OnPlayerEnterVehicleCode to disable the carjack warning.
pawn Код:
else if(!DM[killerid] && !DM[playerid])
        {
          KillWarnings[killerid]++;
          new string[128];
          switch(PlayerInfo[PLAYER_LANG][killerid])
            {
              case 0:
                {
                    format(string,sizeof(string),"~r~Kein ~w~deathmatchen ausserhalb von ~g~/dm ~w~oder ~g~/tdm~w~!~n~~r~Warnung %d/%d",KillWarnings[killerid],MAX_KILL_WARNINGS);
                    GameTextForPlayer(killerid,string,10000,4);
                }
              case 1:
                {
                    format(string,sizeof(string),"~r~No ~w~deathmatching outside of ~g~/dm ~w~or ~g~/tdm~w~!~n~~r~Warning %d/%d",KillWarnings[killerid],MAX_KILL_WARNINGS);
                    GameTextForPlayer(killerid,string,10000,4);
                }
            }
            if(KillWarnings[killerid]>=MAX_KILL_WARNINGS)
            {
              Kick(killerid);
              format(string,sizeof(string),"*** %s wurde gekickt. (Grund: Deathmatchen ausserhalb von /dm und /tdm",PlayerName(killerid));
              SendLanguageMessageToAll(LANG_DE,string);
              format(string,sizeof(string),"*** %s has been kicked. (Reason: Deathmatching outside of /dm and /tdm",PlayerName(killerid));
              SendLanguageMessageToAll(LANG_EN,string);
            }
        }
Remove this from OnPlayerDeath to disable the kill warning.
Reply
#2

What You on about?
Give more details on what you need help with...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)