03.08.2010, 05:40
this is always returning player can't drive...
Код:
case MAX_DRIVERTEST_CP:
{
new string[125];
DisablePlayerCheckpoint(playerid);
DrivingStep[playerid] = 0;
new Float:vehp;
if(GetVehicleHealth(v,vehp) < 750)
{
format(string, sizeof(string), "Player (%d) Cant Driver For ****..someone call him a Taxi!!", playerid);
// Add Var to Set Licese Licese[playerid] = 1;
}
else
{
format(string, sizeof(string), "Player (%d) Passed His Drivers Test, we are no longer safe on the streets!", playerid);
// Add Var to Set TAKE Licese Just in case of Bug ( Licese[playerid] = 0; )
}
SendClientMessageToAll(COLOR_LIGHTRED, string);
DrivingTest[playerid] = 0;
}
}
}

