Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Post scripts 4.0 code questions here
Re: Post scripts 4.0 code questions here [message #453977 is a reply to message #453527] Sat, 10 September 2011 15:17 Go to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma:
General (4 Stars)
How do I access cGameData member variables? Using a function like Get_Ip_Address() or directly grabbing the variable tells me that the member is protected.

I'm doing the following:
The_Game()->Get_Ip_Address()


edit: Ah, you need to use the Get_XXXX() member functions. It gave me an error when I used Get_Ip_Address() for some reason that went away after rebuilding twice.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Sat, 10 September 2011 15:50]

Report message to a moderator

 
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: C&C_Epocilation
Next Topic: DynamicVectorClass problems
Goto Forum:
  


Current Time: Wed Nov 27 07:37:05 MST 2024

Total time taken to generate the page: 0.00754 seconds