- 0
Problema Insurance car
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Exaton
Salut am si eu o mica problema cand bubui masina nu imi creste insul dc?
public OnVehicleDeath(vehicleid)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
vehEngine[vehicleid] = 0;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
if(IsAnOwnableCar(vehicleid))
{
foreach(new i : Player)
{
for(new v; v < MAX_PERSONAL_VEHICLES; v++)
{
if(PlayerInfo[pCarID][v] == vehicleid)
{
PlayerInfo[pCarHP][v] = 1000.0;
if(PlayerInfo[pCarIns][v] != 0)
{
PlayerInfo[pCarIns][v]--;
}
cUpdate(i, v, cInsurancecarx);
cUpdate(i, v, cKMx);
cUpdate(i, v, cHPx);
}
}
}
}
if(Destroycar == 1)
{
if(Carspawn[vehicleid] != 0)
{
DestroyVehicle(Carspawn[vehicleid]);
Carspawn[vehicleid] = 0;
}
}
StopAudioStreamForPlayersInCar(vehicleid);
return 1;
}
26 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now