View Single Post
Old 30/11/2012, 10:46 AM   #8
Big Clucker
Join Date: Apr 2012
Posts: 126
Reputation: 19
Default Re: Making the chat and the message split?

pawn Code:
stock strsplit(source[], first[], second[], split_pos)
    strmid(source, first, 0, split_pos);
    strins(first, "-", split_pos);
    strmid(source, second, split_pos, strlen(source));
    return 1;
I had something like this, don't have access to it right now.
Might have to play around with it, but it worked for me.
cosbraa is offline   Reply With Quote