Problem
#4

atm the TEAM_CIV is not included in any check. whats your playerid team enum? anyways, ima try:
pawn Код:
public WantedLvlSpeed()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(GetPlayerSpeed(i, true) > 140.0 && pInfo[playerid][pTeam]==TEAM_CIV)
        {
            new str[150];
            new plwl = GetPlayerWantedLevel(i);
            plwl = GetPlayerWantedLevel(i);
            SetPlayerWantedLevel(i,plwl +1);
            format(str,150,"- CRIME - Speed Limit Passed! (140 km/h) - You're going at %d km/h - Wanted Level: %d",GetPlayerSpeed(i,true),plwl);
            SendClientMessage(i,red,str);
            return 1;
        }
    }
    return 1;
}
edit: lol 3 answers @ same time
Reply


Messages In This Thread
Problem - by Face9000 - 23.03.2012, 20:09
Re: Problem - by .FuneraL. - 23.03.2012, 20:13
Re: Problem - by IstuntmanI - 23.03.2012, 20:13
Re: Problem - by Babul - 23.03.2012, 20:13
Re: Problem - by T0pAz - 23.03.2012, 20:14
Re: Problem - by Face9000 - 23.03.2012, 20:15

Forum Jump:


Users browsing this thread: 1 Guest(s)