Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ help question
Re: C++ help question [message #380792 is a reply to message #380533] Fri, 17 April 2009 04:02 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
If you're trying to migrate this back into SSGM because you want it to work with vehicles then I would suggest keeping it as a plugin.
You could add a void reb_vet_System::Custom(GameObject *obj, int message, int param, GameObject *sender) {
And on the custom check to see if they entered a vehicle.
On the objecthookcall vehicles are already hooked in that plug-in, you could attach a vet script similar to that of the player version to vehicles there. But don't forget people will try to exploit this as much as possible... (If they get in the vehicle and set it's hea;th/armor higher, remember to set it back when they exit).



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Skin Request]
Next Topic: RenX ERROR
Goto Forum:
  


Current Time: Sat Jan 11 21:23:25 MST 2025

Total time taken to generate the page: 0.01639 seconds