07-31-2012
|
17 | |
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
PHP Code:
|
|
07-31-2012
|
22 |
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
Okay I need more help now, sorry if I'm hashing you guys : 1) is there any way to create a level ? With level name and such, something like createlevel()? 2) can someone explain to me the full usage of showtext() 3) GUI's (if you ain't lazy) |
07-31-2012
|
23 | |
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,824
|
I don't really use showText() a lot. I always use findImg() to display text since you can do a lot more with that than showText(); PHP Code:
You can create a GUI control by doing something like this. PHP Code:
Wiki.graal.net |
|
07-31-2012
|
24 | |
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
2. showText(index, x, y, fontname, style, text); index: the index how it will show (>200: only client will see it; <200: everyone will see it) x: the x position it will be shown at y: the y position it will be shown at fontname: name of the font (use $pref::graal::defaultfontname to have the fontname set, the player has choosen in the f3 options) style: bolt, .... (simply use "b" and so on; if you have multiple styles do it like "bc" and so on) text: the text which will appear 3. http://graal.net/index.php/Creation/...iControls_List Tip: if you aren't sure how a command is working, simply go to here and enter the command into the "search this forum" tool. Like "copylevel(" (i made it "copylevel(" and not "copylevel()" since it will show you the functions with better examples people posted) |
|
07-31-2012
|
27 |
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
|