Why I am not online?

Discussion in 'CommandHelper Scripts' started by Ret, Nov 7, 2015.

  1. Ret

    Ret New Member

    My nickname is (SilvLight_Wolf)
    And

    op:/command_tppos [$x = ''] [$y = ''] [$z = ''] [$yaw = '0'] [$pitch = '0'] [$world = ''] = >>>
    @player = player()
    broadcast(ponline(@player)) <--- debug variable is [False]
    if($world == ''){
    @world = ploc(@player)[world]
    }
    if($x == '' || $y == '' || $z == ''){
    msg('/tppos [x] [y] [z] <yaw> <pitch> <world>')
    die(colorize('&4&lError:&r&f Need xyz location array'))
    }else if($yaw > 180 || $yaw < -180){
    msg('/tppos [x] [y] [z] <yaw> <pitch> <world>')
    die(colorize('&4&lError:&r&f yaw is 180~-180'))
    }else if($pitch > 90 || $pitch < -90){
    msg('/tppos [x] [y] [z] <yaw> <pitch> <world>')
    die(colorize('&4&lError:&r&f pitch is 90~-90'))
    }
    set_ploc(@player, array(
    'x': $x,
    'y': $y,
    'z': $z,
    'world': @world
    ))
    pfacing(@player, $yaw, $pitch)
    <<<

    ponline(SilvLight_Wolf), ponline(player())
    I have ways ,but every send a 'False'
    plz help me X(
  2. PseudoKnight

    PseudoKnight Well-Known Member

    What version of MC/CraftBukkit/Spigot are you using? What build of CommandHelper?
  3. Ret

    Ret New Member

    1.8~1.8.8 Spigot, 3.3.1 CommandHelper
  4. PseudoKnight

    PseudoKnight Well-Known Member