76
General Discussion / Re: TDM lives
« on: June 02, 2011, 05:24:31 PM »
Select the 0 before typing the 1.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
function brickCheckpointData::onPlayerTouch(%data, %obj, %player)
{
%client = %player.client;
if(!isObject(%client))
return;
if(%client.checkPointBrick != %obj)
{
%client.checkPointBrick = %obj;
%client.checkPointBrickPos = %obj.getPosition();
commandToClient(%client, 'BottomPrint', "\c4Checkpoint reached! \c7- Say /clearCheckpoint to go back to the beginning", 3);
Parent::onPlayerTouch(%data, %obj, %player);
}
}
I'm tying to make a host-only GUIAs previously explained, anybody can open that GUI client-side. You can just have it so it doesn't give them any information, though.
I'm trying to use a server-sided console function that returns 1 blid associated with a specific numberYou could send a tabbed list of 10-15 at a time. Wouldn't run over the character limit, saves on number of commandtoclient functions called.
and a onWake function (client-sided) that is supposed to get all the blids from that function and put them in the list. That's problem 1.Bad. This means you're sending however many server commands whether you're an admin or not if someone gets the GUI open, which'd be annoying for the server. Make it send one "requestWhitelist", then if they're the host the above can update the list. This also solves trying to get the number of IDs clientside when that isn't necessary - just clear the list then add every received one to the end of the list, either sorted on the server or after all of them have been recieved on the client.
I'm using a clientcmd to open and close the GUI (client-sided). That works.Alternately you could have this accessible from something like the Admin menu, provided it doesn't get in the way of RTB or other mods. Just don't make it another useless keybind I have to set.
I'm using a clientcmd to refresh the GUI. I don't know if it works.Clearing the GUI then requesting the whitelist again. Does this need a separate client-command? I don't see a use for it (all they'd have to do is close/reopen it) unless you want it to send only on first join and when the list is updated.
There is a text box to enter in blids which is stored in a variable, and a button to add that blid to the whitelist using a server-sided console function. That's problem 2.Well, what have you tried? You seem to know what you want so show an attempt before asking it to be spoon-fed to you.
every network with any blocked websites, has that website blocked as well; if the word 'proxy' is even on a website it'll likely be blocked.Look up that list at home. Remember some of them. Try them in school.
:O... But only within Minigames... Damn, must have been in an update. I remember Adam487 talking about it. He's smart.TDM adds it to the minigame menu. It doesn't hide names entirely, instead they're visible but only approximately within a 32x plate width, so you can see someone you're fighting but not far off snipers.