OTHire - Cast System

Eldora

Intermediate OT User
Joined
Oct 19, 2009
Messages
470
Reaction score
13
Please help implement this:

C++:
    void addCastViewer(ProtocolGame* pg) {
        cSpectators.list[nextSpectator] = pg;
        nextSpectator++;

        std::stringstream ss;
        ss << "Spectator " << cast.curId;
        pg->viewerName = ss.str().c_str();
        cast.curId++;
    }
into this:
C++:
        case 0x96:  // say something
            parseSay(msg);
            break;

Basically want to display the spectators name, when typing a (msg).
 

Way20

Active Member
Joined
Sep 29, 2014
Messages
166
Reaction score
59
Why don't you use this?

 
OP
E

Eldora

Intermediate OT User
Joined
Oct 19, 2009
Messages
470
Reaction score
13
OP
E

Eldora

Intermediate OT User
Joined
Oct 19, 2009
Messages
470
Reaction score
13
Person who can provide the solution can get a payment :) no problem
 
Top