How would I use this class?

Hi there everyone!

I’m familiar with utilizing functions but I don’t think I’ve ever successfully figured out how to use a class. Here’s what I’m trying to use:

And what I’m trying to do is to pass an rcon password and command (in this case, status) to a game server via

Could someone give me a real world example on how I would use this class to pass those two vars to a gameserver?



$con = new q3query("","30120");
1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.