Results 1 to 2 of 2

Thread: Dúvida com WalkThroughPlayers

  1. #1
    Normal User tryller's Avatar
    Join Date
    Oct 2012
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Dúvida com WalkThroughPlayers

    Estou criando meu script e gostaria de saber se ta correto essa action que to criando.

    Code:
    if serverType == "OPTIONAL" then
        setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes")
    elseif serverType == "PVP" and pzone == true then
        setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes")
    else
        setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no")
    end
    Last edited by tryller; 03-08-2013 at 12:07 PM.

  2. #2
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    Acredito que não, você tem que colocar assim: if servertype == OPTIONAL já que no setup eu acredito que você não tenha usado " " mas se sim está certinha a action(aparentemente, não sei na prática).

Posting Permissions

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