![]() |
GUI.findtext(str)?
how would this commands work?
this.hirefind = player.account; if(Biz_HireEdit.findtext(this.hirefind)) player.chat="yipeeee!"; |
What exactly are you trying to accomplish?
|
also how i do this clientside or serverside or make it work.
function onTimeout() { this.i = findplayer ( Biz_BizPlayerList.getselectedtext() ); Biz_PlayerRank.settext(this.i.clientr.bizinfo[1]); Biz_PlayerAdmin.settext(this.i.clientr.bizinfo[2]); Biz_PlayerName.settext(@Biz_BizPlayerList.getselec tedtext()); setTimer(0.05); } it only works for my player. |
Quote:
like if(!GUI.findtext(Graal757488))GUI.addrow(1,Graal75 7488); get me? |
Please wrap code in PHP tags to maintain readability.
PHP Code:
PHP Code:
|
?
one last thing. i want a list to keep the accounts on it everytime i open it.
like server side how would i do this? like serveroptions: PHP Code:
PHP Code:
|
You can access the your staff list on the server-side with code like this:
temp.staff = serveroptions.staff.tokenize(","); Personally I'd use triggerserver, retrieve the staff list, and send the list to the client with triggerclient instead of serverr variable. |
ok now how would i make it add all the accounts in the serveroptions
like temp.staff[temp.staff.size] or wat goes in [] to get all the staff on the list ? not just 1 because its a mutli-line gui |
In my example, temp.staff would be the equivalent to:
temp.staff = {"account", "account"}; You'll have to use a for loop to go through the array and add the accounts one at a time into your GUI. For Loop Example: http://forums.graalonline.com/forums...hp?t=134259285 |
so the correct way to do this how? i keep trying but idk what to do here.
PHP Code:
|
Quote:
Ahh, close HTML Code:
for (temp.x; temp.x < this.bizstaff.size(); temp.x++) { |
| All times are GMT +2. The time now is 05:01 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.