76
Modification Help / Re: Gamemode Vote
« on: August 11, 2009, 03:05:40 AM »If you need anything you know where I am.Wait, you're offering to help me?
Again? Last time you got pissed at me and blocked me on X-Fire.
Also, if anything you could try fixing up some code I have. The code is for the "Server Portals" I'll post an example. I don't have access to Blockland right now so that's why I'm asking. Time efficiency I guess you could say.
Code: [Select]
function GameConnection::connectserverPortal(%client, %ID)
{
//ConnectToTheFollowingPrefs Example: connect($ServerPortalIP[%ID],$ServerPortalPassword[%ID],$ServerPortal[%ID]);
//Some code I tried using.
%id = JS_serverList.getSelectedId();
%index = getField(JS_serverList.getRowTextById(%id),3);
JS_serverList.setSelectedByID(%index); JoinServerGUI.Join();
Prefs example:
Code: [Select]
$ServerPortal[1] = "Test";
$ServerPortalIP[1] = "192.168.1.100";
$ServerPortalPassword[1] = "Password";