10.06.2014, 15:40
This is a very bad way of doing this, you should create a "replace string" stock. And all you have to do is place the stock name with its parameters under OnPlayerText or even /pm.
Example:
Chatbox: Hello @2, @3, @4 & @5!
Print out: SickAttack (1): Hello Kevin, John, Luis & Victoria!
Example:
pawn Code:
CMD:pm(playerid, params[])
{
ReplaceString(string, GetName(id), params);
return 1;
}
Print out: SickAttack (1): Hello Kevin, John, Luis & Victoria!