Unnamed
public text v1 · immutablepublic Rana(playerid) {
new Float:health;
new vehicleid=GetPlayerVehicleID(playerid);
GetPlayerHealth(playerid, health);
if(IsPlayerInAnyVehicle(playerid))
{
if (health < 950)
{
if(blokada[playerid]==0) {
blokada[playerid]=1;
SetPlayerHealth(playerid, health -5);
}
}
}
return 1;
}