Hello,guys
PHP Code:
print_color(0, iVictim, BALLMSG, szName, iDropMoney)
this for everyone
If i want the print_color only show for the team
How can i do?
PHP Code:
stock print_color(index, color, const msg[], any:...)
{
new szMessage[192]
szMessage[0] = 0x04
vformat(szMessage[1], charsmax(szMessage)-1, msg, 4)
new iSayText
if (iSayText || (iSayText = get_user_msgid("SayText")))
{
message_begin(index ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, iSayText, _, index)
{
write_byte(color)
write_string(szMessage)
}
message_end()
}
}
__________________