Chatbubble Question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Chatbubble Question (
/showthread.php?tid=171468)
Chatbubble Question -
playbox12 - 26.08.2010
pawn Код:
new name[MAX_PLAYER_NAME], string[50];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s", name);
SetPlayerChatBubble(playerid, string, COLOR_WHITE, 100.0, 99999999);
Is basicly what I am trying to do, but its not working. And for the people that may ask, it is under OnPlayerConnect.
Does anyone have a clue why it won't work
EDIT, Its probaly solved now, someone else working on the script added a similar thing in OnPlayerSpawn. Causing the script to create to bubbles at the same time and place, that can't be done so I deleted that part. Will test soon if that works.
Re: Chatbubble Question -
Bumbis - 26.08.2010
Try tu put it under OnPlayerSpawn?
Re: Chatbubble Question -
playbox12 - 26.08.2010
Quote:
Originally Posted by silvis123
Try tu put it under OnPlayerSpawn?
|
That wouldn't matter, but I will give it a try, when there are no other explanations.