05.08.2011, 01:20
I get this error with Pawno, can anyone help me sort this out?
I can't seem to find the problem.
I can't seem to find the problem.
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;
}