Results 1 to 6 of 6

Thread: how do i add staff boots

  1. #1
    Anime Otaku georgelordx's Avatar
    Join Date
    Aug 2013
    Location
    United States
    Posts
    279

    how do i add staff boots

    so i found this sciript wich was staff boots script wich was made by gambit how do i add to me level.
    PHP Code:
    //Custom staff boots system 
    //By: Gambet 
    //Controls: 
    //  + and = key (left of backspace on American keyboard) - plus speed 
    //  - and _ key (left of + and = key on American keyboard) - minus speed 
    //  z key = toggle on/off 
    //  Max Speed: 10 

    //#CLIENTSIDE 
    function onKeyPressed(code,key

     if (
    key == "z"
      { 
       if (
    this.staff_boots == "on"
        { 
          
    this.staff_boots this.speed ""
          
    player.chat "Staff Boots -Off-"
          
    setTimer(0); 
        } else 
         { 
           
    this.staff_boots "on"
           
    player.chat "Staff Boots -On-"
           
    setTimer(0.05); 
         } 
      } 
     if (
    code == 187
      { 
       if (
    this.speed+<= 10
        { 
         
    this.speed+=1
         
    player.chat "Speed: " this.speed
        } 
      } else if (
    code == 189
       { 
        if (
    this.speed->= 1
         { 
          
    this.speed-=1
          
    player.chat "Speed: " this.speed
         } 
       } 


    function 
    onTimeOut() 

     if (
    this.staff_boots == "on"
      { 
       for (
    a=0a<4a++) 
        { 
         if (
    keydown(a)) 
          { 
           switch(
    a
            { 
              case 
    "0"
               
    player.y-=this.speed
               break; 
              case 
    "1"
               
    player.x-=this.speed
               break; 
              case 
    "2"
               
    player.y+=this.speed
               break; 
              case 
    "3"
               
    player.x+=this.speed
               break; 
            } 
          } 
        } 
      } 
     
    setTimer(0.05); 

    how do i make it usable in my level pls help me

  2. #2
    grass4m3
    Guest
    That's GS2 the level editor only supports GS1. If you mean put on a PC server you own/work on just paste it in a weapons script and add it to yourself in attributes.

  3. #3
    Anime Otaku georgelordx's Avatar
    Join Date
    Aug 2013
    Location
    United States
    Posts
    279
    o ok thx

  4. #4
    Anime Otaku georgelordx's Avatar
    Join Date
    Aug 2013
    Location
    United States
    Posts
    279
    how has a gscipt1 staff boots script?

  5. #5
    aaaaaaaaaaaaaaaaaaaaaaaaa Grief Hero's Avatar
    Join Date
    Jun 2013
    Location
    n/a
    Posts
    1,327
    won't work if you do it in the level editor, you need to have a weapon to enter the script into.

  6. #6
    Anime Otaku georgelordx's Avatar
    Join Date
    Aug 2013
    Location
    United States
    Posts
    279
    o so no gscript1 boots thx for telling

Posting Permissions

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