Thread: need quick help, dont post hate. and dont answer more if its already been answered.

Results 1 to 6 of 6
  1. #1 need quick help, dont post hate. and dont answer more if its already been answered. 
    Registered Member

    Join Date
    Jul 2013
    Posts
    594
    Thanks given
    261
    Thanks received
    104
    Rep Power
    247
    i havent worked with a source and client in a while and was wondering,
    whats the line of code for adding teleport commands
    like:





    :: dzone
    ::home

    (stuff like this)
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Nov 2013
    Posts
    126
    Thanks given
    5
    Thanks received
    21
    Rep Power
    42
    if(c.playerCommand.startsWith("teleport")) {
    c.movePlayer("0000, 0000, 0");
    }
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Quality over quantity


    Join Date
    Dec 2011
    Age
    28
    Posts
    1,318
    Thanks given
    74
    Thanks received
    157
    Rep Power
    110
    Quote Originally Posted by Savior View Post
    if(c.playerCommand.startsWith("teleport")) {
    c.movePlayer("0000, 0000, 0");
    }
    That's just going to move the player, not have the actual teleport animation/graphics.

    Quote Originally Posted by Derka View Post
    whats the line of code for adding teleport commands
    use startTeleport instead of movePlayer if you want the teleport anim/gfx
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Nov 2013
    Posts
    126
    Thanks given
    5
    Thanks received
    21
    Rep Power
    42
    Quote Originally Posted by Notgower View Post
    That's just going to move the player, not have the actual teleport animation/graphics.



    use startTeleport instead of movePlayer if you want the teleport anim/gfx

    He pmed me on Skype saying he didn't care about GFX. He didn't want thread empty either.

    I also failed that, it's
    if(c.playerCommand.startsWith("teleport")) {
    movePlayer(0000,0000,0);
    }
    Reply With Quote  
     

  6. #5  
    Quality over quantity


    Join Date
    Dec 2011
    Age
    28
    Posts
    1,318
    Thanks given
    74
    Thanks received
    157
    Rep Power
    110
    Quote Originally Posted by Savior View Post
    He pmed me on Skype saying he didn't care about GFX. He didn't want thread empty either.
    He asked you to reply to the thread instead of just explaining to him over skype? What's the point in that? lol..

    And well it's there if he wishes to use it
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Registered Member

    Join Date
    Jul 2013
    Posts
    594
    Thanks given
    261
    Thanks received
    104
    Rep Power
    247
    ~closed~ i got what i needed thanks
    Reply With Quote  
     


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. [PI] Need quick help - and i'll thank+rep
    By RS2006Phat in forum Help
    Replies: 9
    Last Post: 02-05-2012, 07:42 PM
  2. Replies: 2
    Last Post: 08-30-2009, 03:23 PM
  3. Need Quick Help!
    By Damien in forum Help
    Replies: 7
    Last Post: 06-20-2009, 01:05 PM
  4. Replies: 0
    Last Post: 04-10-2009, 03:57 PM
  5. Need Quick Help!
    By Existence in forum Help
    Replies: 10
    Last Post: 02-01-2009, 07:52 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •