| Blockland Forums > Modification Help |
| Server-side to client-sided lists |
| << < (2/2) |
| MegaScientifical:
RTB adds customized variables between Super Admins (and above) and the server. If the BLIDs are used serverwide (not specific to certain persons) then you might be able to use this. |
| Ipquarx:
okay, so how do i add these custom variables, and how do i get them to the client's GUI? |
| Space Guy:
Iban's guide to Client / Server Commands, this lets you send information/call functions between the client and server such as a name and an ID to add to a list. |
| MegaScientifical:
--- Quote from: Space Guy on March 30, 2011, 01:38:47 PM ---Iban's guide to Client / Server Commands, this lets you send information/call functions between the client and server such as a name and an ID to add to a list. --- End quote --- I was hoping to avoid external methods which would involve slightly more work on his side. :panda: |
| Ipquarx:
Okay, so im using a servercmd that refreshes the strings $line[enter number of lines here] and $linecount it returns the linecount. If i make it a client cmd, and make it return the lines, could i in the client files this?: function GUI::onWake(%this) { %this.clear(); for(%i=1;%i<=$LineCount;%i++) { %line = commandtoclient(%client, 'lines'); //lines is the clientcmd im using //other code and also, i dont think that the RTB variables would work, and the way im using, requires external add-on to add certain elements to another gui. |
| Navigation |
| Message Index |
| Previous page |