06.07.2012, 02:23
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInVehicle(playerid, examCarPlayer[playerid]) && isInExam[playerid])
{
new Float:health;
GetVehicleHealth(examCarPlayer[playerid], health); // You didn't close this line
if(health > oldHP && allowHPchange==false)
{
if(timeChanged)
{
new h,m,s;
gettime(h,m,s); SetPlayerTime(playerid, h, m); timeChanged = false;
}