auto repair fs help....
#1

hey friends i have these auto repair filterscripts... :-
pawn Код:
public AutoR()
{    
    for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
    {
        if(IsPlayerConnected(playerid))
        if(PlayerToPoint(2500, playerid, 563.4977,2079.7036,50.0636))//Full Lv
        {
            new Float:health, cid;
            if (IsPlayerInAnyVehicle(playerid))
            {
                cid = GetPlayerVehicleID(playerid);
                GetVehicleHealth(cid, health);
                if (health < 300)
                {
                SetVehicleHealth(cid,1000);
                GameTextForPlayer(playerid, "Vehicle Repaired!",2000,5);
                }
            }
        }
    }
    return 1;
}
but this is only for defined area only.....and i have one more auto repair fs....but that is only for admin....i want to both in 1 fs....please help....work in area only for players and for admins enywhere i mean...
Reply


Messages In This Thread
auto repair fs help.... - by deviljingoku - 09.03.2011, 17:28
Re: auto repair fs help.... - by OKStyle - 09.03.2011, 17:46
Re: auto repair fs help.... - by deviljingoku - 09.03.2011, 18:07
Re: auto repair fs help.... - by Calgon - 09.03.2011, 18:12
Re: auto repair fs help.... - by deviljingoku - 09.03.2011, 18:45
Re: auto repair fs help.... - by OKStyle - 10.03.2011, 02:20
Re: auto repair fs help.... - by deviljingoku - 19.03.2011, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)