Thread: How can i add commands + Emote's?

Results 1 to 5 of 5
  1. #1 How can i add commands + Emote's? 
    Registered Member
    Join Date
    Oct 2009
    Posts
    87
    Thanks given
    0
    Thanks received
    0
    Rep Power
    3
    Hello guys, i'm just new to coding 317's but on my server when you do ::mute the player is still able to talk..
    Can anyone help me fix this?

    Barrage is bugged to you run to that person youre fighting with and cant barrage for 5/10 seconds.

    Emote's all the emote's i do are godsword specials/runs etc..


    My source is DeltaSource [Paradise].

    Contact me ? [email protected]
    Ofcouse you're getting REP!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2009
    Posts
    87
    Thanks given
    0
    Thanks received
    0
    Rep Power
    3
    Still need help.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Alekz's Avatar
    Join Date
    Aug 2009
    Age
    29
    Posts
    214
    Thanks given
    18
    Thanks received
    18
    Rep Power
    310
    Ok, start off by not using deltascape.
    Good, now run your server, and it shouldn't be bug heaven.
    [spoil][/spoil]
    Reply With Quote  
     

  4. #4  
    Respected Member


    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,099
    Thanks given
    2,226
    Thanks received
    3,146
    Rep Power
    5000
    Attached image

    Spoiler for Spoilers!:
    Attached image
    Attached image
    Attached image
    Attached image
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    I'm not sure if this will work i wrote at school.

    Code:
    else if(command.startsWith("mute")){
           string NAME = command.substring(5); //Not Sure Sorry...
           int ID = server.playerHandler.getPlayerID(NAME);
           client player = (client) server.playerHandler.playerId[ID]
            player.isMuted = true;
    }
    in case4: //Could be 40?? not sure sorry im writing this at school.

    add this

    Code:
    if(isMuted)
    sM("Sorry you're currently muted and cannot talk");
    break;
    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

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