Solved Boolean value toString

Discussion in 'Plugin Development' started by TGamingStudio, Oct 2, 2017.

Thread Status:
Not open for further replies.
  1. Hello please how i can do the bool to string ? without
    Code:
    if(bool == true)
      value = "true";
    else
      value = "false";
    something like bool.value... becouse
    Code:
    String value = Bool.ToString()
    didnt work ...
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. @timtower i need after comand send message :
    Code:
    "Value of idk what is : " + bool + "." 
     
  4. Offline

    timtower Administrator Administrator Moderator

  5. @timtower boolean yes true or false


    than
    Code:
    "Value of idk what is : " + bool (true or false) + "." 
     
  6. Offline

    Caderape2

    TGamingStudio likes this.
  7. Offline

    Zombie_Striker

    @TGamingStudio @Caderape2
    The thing is, you do not even need that. You should be able to just provide the bool by itself.

    Either way, mark this thread as solved if your problem has been solved.
     
    yPedx likes this.
Thread Status:
Not open for further replies.

Share This Page