How to str_replace the color code like ^1 to nothing

Results 1 to 2 of 2
  1. #1
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    How to str_replace the color code like ^1 to nothing

    Hi guys, how to replace the chat color code like ^1 to nothing or to blank?

    For example:
    ^1B^2^4A^2D

    If you will replace those colorcode, the result will be BAD
    Like for example, this player is spamming bad words with colorcode, then it should be failed to chat.
    Any one can help? Well I am sorry but I am not pro in C++.


  2. #2
    Account Upgraded | Title Enabled! Patrick2607 is offline
    MemberRank
    May 2013 Join Date
    The NetherlandsLocation
    345Posts

    Re: How to str_replace the color code like ^1 to nothing

    MDrawContext.cpp somewhere at line 360. Search for:
    Code:
    unsigned long int MMColorSet[] = {



Advertisement