Error with pawno
#4

pawn Код:
forward RandMessagesx();
public RandomMessage()
{
    TextDrawSetString(ShadowsRandom, RandomMessages[random(sizeof(RandomMessages))]);
    return true;
}

forward AutoRepair(playerid,vehicleid);
public AutoRepair(playerid,vehicleid)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new Float:health;
        GetVehicleHealth(vehicleid, health);
        if(health < 950)
        {
            RepairVehicle(vehicleid);
            SetVehicleHealth(vehicleid, 1000);
        }
    }
    return true;
}
Reply


Messages In This Thread
Error with pawno - by iRockJerkySalad - 05.08.2011, 01:20
Re: Error with pawno - by Krx17 - 05.08.2011, 01:22
Re: Error with pawno - by iRockJerkySalad - 05.08.2011, 12:10
Re: Error with pawno - by Riddick94 - 05.08.2011, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)