Thread: send message - compiler error PI

Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1 send message - compiler error PI 
    Donator

    ProFiles's Avatar
    Join Date
    May 2011
    Posts
    1,673
    Thanks given
    4
    Thanks received
    240
    Rep Power
    118
    Fixed, can remove.
    Reply With Quote  
     

  2. #2  
    DystopiaPS

    Bells's Avatar
    Join Date
    Dec 2008
    Age
    27
    Posts
    3,788
    Thanks given
    600
    Thanks received
    1,449
    Rep Power
    4098
    Just change c2 to c.
    Reply With Quote  
     

  3. #3  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    Or just declare the variable c2...


    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    move
    Code:
    Client c2 = (Client)Server.playerHandler.players[i];
    to below the for loop.
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: https://github.com/Faris-Mckay
    Reply With Quote  
     

  5. #5  
    DystopiaPS

    Bells's Avatar
    Join Date
    Dec 2008
    Age
    27
    Posts
    3,788
    Thanks given
    600
    Thanks received
    1,449
    Rep Power
    4098
    Quote Originally Posted by 01053 View Post
    Or just declare the variable c2...
    Whatever you do, don't listen to him!
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Quote Originally Posted by Bells View Post
    Whatever you do, don't listen to him!
    Why shouldn't he listen to him? He's correct.
    Except the variable has already been declared, but where he is calling it, is out of the scope.
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: https://github.com/Faris-Mckay
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    Quote Originally Posted by Bells View Post
    Whatever you do, don't listen to him!
    what?


    Reply With Quote  
     

  9. #8  
    Donator

    ProFiles's Avatar
    Join Date
    May 2011
    Posts
    1,673
    Thanks given
    4
    Thanks received
    240
    Rep Power
    118
    I thought c.sendMessage sends message to player that does that command, and c2.sendMessage sends to the target. If i'm not correct can you tell me code for it?
    Reply With Quote  
     

  10. #9  
    Donator

    Thock321's Avatar
    Join Date
    Jul 2011
    Posts
    1,804
    Thanks given
    706
    Thanks received
    363
    Rep Power
    416
    Do what they said above.
    Reply With Quote  
     

  11. #10  
    Donator

    ProFiles's Avatar
    Join Date
    May 2011
    Posts
    1,673
    Thanks given
    4
    Thanks received
    240
    Rep Power
    118
    Quote Originally Posted by thock321 View Post
    Do what they said above.
    They say diff kind of things. Which one should I do and how?
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Send Message Problem
    By Lyfyl Il in forum Help
    Replies: 8
    Last Post: 05-25-2011, 10:27 PM
  2. Fix my compiler and i send 10 $ <3
    By Nuked in forum Help
    Replies: 5
    Last Post: 07-06-2010, 06:24 PM
  3. This error when trying to send a message... 508
    By Anthony-| in forum Application Development
    Replies: 2
    Last Post: 06-02-2009, 01:28 AM
  4. Send message
    By ViperSniper in forum Help
    Replies: 3
    Last Post: 01-29-2009, 08:49 PM
Tags for this Thread

View Tag Cloud

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