Administrátor Ewwe 434 Odesláno: 27. Březen, 2013 Administrátor Share Odesláno: 27. Březen, 2013 V četu jsem zahlédl popis nadšeného jedince který si udělal timer na 500ms aby mu to opravovalo vozidlo... To je PÍČOVINA!!! V následujícím scriptu vám ukážu jak se to dělá bez timeru.... Stačí si přidat do módu/fs tento callback: public OnVehicleDamageStatusUpdate(vehicleid, playerid) { RepairVehicle(vehicleid); return 1; } Funguje to v podstatě tak že při poničení karoserie/světel/kol apod se vozidlo opraví... 1 Link to comment Share on other sites More sharing options...
Fabricator 0 Odesláno: 27. Březen, 2013 Share Odesláno: 27. Březen, 2013 Pekný script 10/10 Ale to je že ked naburam tak sa mi to auto opravý? Link to comment Share on other sites More sharing options...
Administrátor Ewwe 434 Odesláno: 27. Březen, 2013 Author Administrátor Share Odesláno: 27. Březen, 2013 Funguje to v podstatě tak že při poničení karoserie/světel/kol apod se vozidlo opraví... Co si na tom nepochopil 1 Link to comment Share on other sites More sharing options...
Fabricator 0 Odesláno: 27. Březen, 2013 Share Odesláno: 27. Březen, 2013 aha Link to comment Share on other sites More sharing options...
Ranger 8 Odesláno: 27. Březen, 2013 Share Odesláno: 27. Březen, 2013 OnVehicleDamageStatusUpdate sa vyvola iba ked poškodiš nejaku časť auta napr. pokryviš naraznik, rozdrbeš dvere ... ak budeš strielať do auta alebo ti pri aute niečo vybuchne nevyvola sa to takže ti je to ako antivehicledmg nahovno Link to comment Share on other sites More sharing options...
Administrátor Ewwe 434 Odesláno: 27. Březen, 2013 Author Administrátor Share Odesláno: 27. Březen, 2013 OnVehicleDamageStatusUpdate sa vyvola iba ked poškodiš nejaku časť auta napr. pokryviš naraznik, rozdrbeš dvere ... ak budeš strielať do auta alebo ti pri aute niečo vybuchne nevyvola sa to takže ti je to ako antivehicledmg nahovno Opět se odvolávám na výše zmíněnou větu.... Link to comment Share on other sites More sharing options...
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