Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Advanced Gs2 for the Noobs #1

  1. #11
    Thanks john.
    Last edited by Noofboy12; 02-27-2014 at 11:15 PM.
    Noof was here.

  2. #12
    Keef
    Guest
    how do you expect us to practice scripting if we dont have a server to practice on

  3. #13
    Street Boss John's Avatar
    Join Date
    Jun 2013
    Location
    Lebanon
    Posts
    825
    Quote Originally Posted by Keef View Post
    how do you expect us to practice scripting if we dont have a server to practice on
    And how is this my problem?
    -Johnaudi

  4. #14
    Zephlyn
    Join Date
    Aug 2013
    Location
    Chile
    Posts
    3,295
    nice guide john !

    Im studying a book called 'Javascrypt' it got about 530 pages, ok going back to topic, this has something to be with era script ?

  5. #15
    aaaaaaaaaaaaaaaaaaaaaaaaa Grief Hero's Avatar
    Join Date
    Jun 2013
    Location
    n/a
    Posts
    1,327
    No, as JavaScript and GraalScript2 are different languages.


    I saw. I conquered. I came.


  6. #16
    Quote Originally Posted by Grief Hero View Post
    No, as JavaScript and GraalScript2 are different languages.
    While true, learning about Object Oriented Programming (Javascript), could be beneficial (arguably more-so than just learning gs2).

    But below the surface, there are notable differences, but you are on the right track attempting to learn Javascript.

  7. #17
    Street Boss John's Avatar
    Join Date
    Jun 2013
    Location
    Lebanon
    Posts
    825
    Thread updated/finished.
    -Johnaudi

  8. #18
    Big Cheese Captain
    Join Date
    Jun 2013
    Posts
    1,029
    I know this is a major bump, but for the ban, couldn't you use a substring? Like:
    PHP Code:
    function onPlayerChats () {
      if (
    player.chat.starts == "/ban") {
        
    this.playerjail player.chat.subtring (4).trim();
      }

    iEra Developer / SFX Admin

    Need help? Contact me:
    Email: [email protected]

  9. #19
    Raven Ventus Victor's Avatar
    Join Date
    Feb 2014
    Location
    Malaysia
    Posts
    2,977
    GS2 or C++, are they same?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •