PlayerTextDrawShow(playerid,Textdsraws16[playerid]);
PlayerTextDrawShow(playerid,Textdsraws0[playerid]); PlayerTextDrawShow(playerid,Textdsraws1[playerid]); PlayerTextDrawShow(playerid,Textdsraws2[playerid]); PlayerTextDrawShow(playerid,Textdsraws3[playerid]); PlayerTextDrawShow(playerid,Textdsraws4[playerid]); 6667 PlayerTextDrawShow(playerid,Textdsraws16[playerid]); PlayerTextDrawShow(playerid,Textdsraws5[playerid]); PlayerTextDrawShow(playerid,Textdsraws6[playerid]); PlayerTextDrawShow(playerid,Textdsraws7[playerid]); PlayerTextDrawShow(playerid,Textdsraws8[playerid]); PlayerTextDrawShow(playerid,Textdsraws9[playerid]); PlayerTextDrawShow(playerid,Textdsraws10[playerid]); PlayerTextDrawShow(playerid,Textdsraws11[playerid]); PlayerTextDrawShow(playerid,Textdsraws12[playerid]); PlayerTextDrawShow(playerid,Textdsraws13[playerid]); PlayerTextDrawShow(playerid,Textdsraws14[playerid]); PlayerTextDrawShow(playerid,Textdsraws15[playerid]); PlayerTextDrawShow(playerid,Textdsraws17[playerid]); PlayerTextDrawShow(playerid,Textdsraws18[playerid]); 6681 PlayerTextDrawShow(playerid,Textdsraws19[playerid]); PlayerTextDrawShow(playerid,Textdsraws20[playerid]); PlayerTextDrawShow(playerid,Textdsraws21[playerid]); PlayerTextDrawShow(playerid,Textdsraws22[playerid]); PlayerTextDrawShow(playerid,Textdsraws23[playerid]); PlayerTextDrawShow(playerid,Textdsraws24[playerid]); PlayerTextDrawShow(playerid,Textdsraws25[playerid]); PlayerTextDrawShow(playerid,Textdsraws26[playerid]); PlayerTextDrawShow(playerid,Textdsraws27[playerid]); PlayerTextDrawShow(playerid,Textdsraws28[playerid]); PlayerTextDrawHide(playerid,Textdsraws2228[playerid]); |
public OnVehicleDeath(vehicleid) { new engine,lights,alarm,doors,bonnet,boot,objective; vehEngine[vehicleid] = 0; GetVehicleParamsEx(vehicleid,engine,lights,alarm,d oors,bonnet,boot,objective); <----"DOORS" I do not know why she is spitting SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,li ghts,alarm,doors,bonnet,boot,objective); <-----"LIGHTS" I do not know why she is spitting if(IsAnOwnableCar(vehicleid)) { foreach(Player,i) { for(new v; v < PlayerInfo[i][pCarSlots]; v++) { if(PlayerInfo[i][pCarID][v] == vehicleid) { PlayerInfo[i][pCarHP][v] = 1000.0; if(PlayerInfo[i][pCarIns][v] != 0) { PlayerInfo[i][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; } |
new Float:ac_vHealth; GetVehicleHealth(vehicleid, ac_vHealth); if(ac_vHealth < 250.0) ACVehInfo[vehicleid][acSpawned] = false; #if !defined _inc_y_hooks && !defined _INC_y_hooks\ && defined ac_OnVehicleDeath return ac_OnVehicleDeath(vehicleid, killerid); #else return 1; #endif } #if !defined _inc_y_hooks && !defined _INC_y_hooks #if defined _ALS_OnVehicleDeath #undef OnVehicleDeath #else #define _ALS_OnVehicleDeath #endif #define OnVehicleDeath ac_OnVehicleDeath #if defined ac_OnVehicleDeath forward ac_OnVehicleDeath(vehicleid, killerid); #endif #endif #if defined _inc_y_hooks || defined _INC_y_hooks hook OnPlayerText(playerid, text[]) #else public OnPlayerText(playerid, text[]) #endif |