Small help
#1

Well, It's working fine. But i want if player has wanted level 6 so it doesn't give msg and wanted level . I just want it shouldn't work for wanted level 6. WHo has 6 stars so its should don't work for them.

PHP код:
shotsfired[playerid] ++;
    if(
shotsfired[playerid] >= 2)
    {
         if(
IsPlayerNearLawEnforcement(playerid))
         {
            new 
string[256], copmsg[256], ID;
            
SetPlayerWantedLevelEx(playeridGetPlayerWantedLevel(playerid) + 1);
            
format(stringsizeof(string), "Comitted A Crime: Shooting in public - Wanted Level %d"GetPlayerWantedLevel(playerid));
            
SendClientMessage(playeridCOLOR_WANTEDstring);
            
shotsfired[playerid] = 0;
         }
    } 
Reply


Messages In This Thread
Small help - by STONEGOLD - 13.07.2015, 11:50
Re: Small help - by TonyVk - 13.07.2015, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)