Problem
#5

Assuming you are using the SA-MP Team system.

pawn Код:
public WantedLvlSpeed()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(GetPlayerSpeed(i, true) > 140.0 && gTeam[i] == 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;
}
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: 2 Guest(s)