Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ void On_Player_Death???
Re: C++ void On_Player_Death??? [message #432259 is a reply to message #432258] Wed, 07 July 2010 08:11 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
MutateMeh wrote on Wed, 07 July 2010 11:07

Well basically everyone on nod should have the same spawn character.. Smile


The use the setting in SSGM.ini to change the defualt spawn character of Nod, or call that change_spawn_char function only Once (no need to keep setting it over and over again).

Instead of:

Change_Spawn_Char(obj, "Nun");


try:

Change_Spawn_Char(0, "Nun"); // I am not sure "Nun" is a valid character preset? o.0


But seriously, you do not need to be making this call every time a person dies, just call it Once on map load, or when the server starts...



 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lua Plugin V5
Next Topic: distance between two objects c++
Goto Forum:
  


Current Time: Tue Dec 03 18:21:25 MST 2024

Total time taken to generate the page: 0.00895 seconds