![]() |
|
08-10-2012
|
136 |
|
A World Without Colors!
Join Date: Sep 2011
Posts: 18
|
Oh... I'll just sit here, forgotten in the corner... *Huddles in the corner with the breakdancing bear*
|
|
08-10-2012
|
137 |
|
Graalian
Join Date: Sep 2011
Location: Belle Isle
Posts: 4,481
|
|
|
08-10-2012
|
138 |
|
iEra LAT
Join Date: May 2012
Location: Planet Chocolate
Posts: 664
|
|
|
08-10-2012
|
139 |
|
A World Without Colors!
Join Date: Sep 2011
Posts: 18
|
|
|
08-10-2012
|
140 |
|
busy
Join Date: Sep 2011
Location: Richmond, VA
Posts: 2,270
|
|
|
08-10-2012
|
141 |
|
busy
Join Date: Sep 2011
Location: Richmond, VA
Posts: 2,270
|
|
|
08-10-2012
|
142 |
|
Levels<3
Join Date: Dec 2011
Location: Fairfax, Virginia
Posts: 997
|
|
|
08-10-2012
|
143 |
|
iEra LAT
Join Date: May 2012
Location: Planet Chocolate
Posts: 664
|
|
|
08-10-2012
|
144 |
|
busy
Join Date: Sep 2011
Location: Richmond, VA
Posts: 2,270
|
|
|
08-10-2012
|
145 |
|
Levels<3
Join Date: Dec 2011
Location: Fairfax, Virginia
Posts: 997
|
|
|
08-11-2012
|
146 |
|
iEra LAT
Join Date: May 2012
Location: Planet Chocolate
Posts: 664
|
That's what Callimuc told me so i have it
|
|
08-11-2012
|
147 |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
actually you don't need it. ifcreated runs the function (if) under the script only once, or when updated the level. You can replace it as gs1 with if (playerenters) which renders the script each time the player enters. That'll be good if you are loading a different tileset. You can also recall the function several times, PHP Code:
But still I recommend you guys to get hands on a server. What you're learning now isn't used much anymore. --- Point is if you don't insert the if (created) will be okay. It will work even then. Edit: btw guys , || means "or". you can do it this way too I suppose: PHP Code:
I don't have it right now, Linux doesn't support Graal correctly :/ , but that can help you : && means And, can be used as : if (created && 1+1 == 2) as an example == means Define, usually used on the if's, if (1 + 1 == 2) = means Equals, to make equals something, if (created) timeout = 1; + and - means + and - // you know what it means += and -= will add or reduce. < and > means smaller and bigger, like if (1 < 2) <= and >= means smaller or equals and bigger or equals, if (1 <= 1) //it will define as true != means Not Equals, if ( 1 != 2 ) // true statement / means division, if ( 2 / 1 == 2 ) // true again * means times, if ( 3 * 3 == 9 ) //true again pi means 3.14, used often in circles with cos and sin strequals() means String Equals, read the next line as an example # can be found in commands.rtf, fyi for the example I'm gonna use #c which is the chat, #g which is the guild. // also playerchats will read the players chat PHP Code:
Last edited by Johnaudi; 08-11-2012 at 07:53 AM.
|
|
08-11-2012
|
148 |
|
:pluffy:
Join Date: Aug 2011
Location: Sweden
Posts: 5,945
|
you forgot crono :< who else would stealth, make a noob say "I LOVE U CRONO" to activate hax, and then tell them it doesn't actually do anything. |
|
08-11-2012
|
149 | |
|
Levels<3
Join Date: Dec 2011
Location: Fairfax, Virginia
Posts: 997
|
Last edited by Dude1310; 08-11-2012 at 02:40 PM.
|
|
|
08-11-2012
|
150 |
|
floating on
Join Date: Apr 2012
Location: GraalOnline Zone
Posts: 3,422
|
why is everyone speaking foriegn Graal Confused... and Njc is neewwwww |