Author Topic: Can you make a variable in one script and have it reconized in another script?  (Read 573 times)

I want to know if you can put
Code: [Select]
%client.hasServerMembership = 1;
Into a script then have a different script look and see if you have the Server Membership.
Please help. Thanks.



Raggle fraggle!
« Last Edit: April 19, 2009, 03:17:34 PM by AGlass0fMilk »

Tom

You can use it in another script. It is stored in the client object.
« Last Edit: April 19, 2009, 06:11:07 PM by Tom »

Oh... Sorry, By the way Tom, how do I make a button in a GUI that sorts a Gui List control by like BLID or Name?
« Last Edit: April 19, 2009, 03:19:01 PM by AGlass0fMilk »

It's something like %list.sort(%column,%ascending) where you can set which column (e.g. in the player list the admin status, name, score, ID) it is sorted by and whether to sort in ascending or descending order.

Well, how do I sort the list into columns?

tabs and the columnWidth variable in the list to set where the columns are shown