26.02.2011, 12:38
i have chatbubble text in my gamemode.....when i typed something i cant see it on my player's head...? please help me....?
here is pawno code... :-
here is pawno code... :-
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strlen(text) > 128) return 0;
new to_others[MAX_CHATBUBBLE_LENGTH+1];
new to_me[MAX_CHATBUBBLE_LENGTH+1];
format(to_others,MAX_CHATBUBBLE_LENGTH,"Says: %s",text);
format(to_me,MAX_CHATBUBBLE_LENGTH,"chat %s",text);
SetPlayerChatBubble(playerid,to_others,MESSAGE_COLOR,35.0,10000);
SetPlayerChatBubble(playerid,to_me,MESSAGE_COLOR,35.0,10000);
return 0; //
}