Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSGM c++
Re: SSGM c++ [message #296097 is a reply to message #296037] Sat, 10 November 2007 20:44 Go to previous messageGo to previous message
Adad is currently offline  Adad
Messages: 84
Registered: April 2003
Karma:
Recruit
1. Below.
2.
GenericSLNode *x = PlayerList->HeadNode;
while (x)
{
	if (x->NodeData)
	{
		if (((cPlayer *)x->NodeData)->IsInGame)
		{
			//bla bla bla...
		}
	}
	x = x->NodeNext;
}

Make a timer to run it every second.

3. It's removed in scripts 3.x afaik.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: westwood ftp
Next Topic: C&C3 Worldbuiler
Goto Forum:
  


Current Time: Tue Jan 28 15:09:49 MST 2025

Total time taken to generate the page: 0.00772 seconds