16.06.2013, 20:29
Here.
Add that and replace
to
pawn Код:
SendCustomPlayerMessage(Float:radi, playerid, text[], col1, col2, col3, col4, col5)
{
if(strlen(text) > 98)
{
new text1[99],
text2[99],
string[196];
strmid(text2, text, 98, 196);
strmid(text1, text, 0, 98);
format(string, 196, "%s...", text1);
ProxDetector(radi, playerid, string, col1, col2, col3, col4, col5);
format(string, 196, "...%s", text2);
ProxDetector(radi, playerid, string, col1, col2, col3, col4, col5);
}
else ProxDetector(radi, playerid, text, col1, col2, col3, col4, col5);
}
pawn Код:
SendNearbyMessage
pawn Код:
SendCustomPlayerMessage