SA-MP Forums Archive
>> Chat LOL help - 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)
+--- Thread: >> Chat LOL help (/showthread.php?tid=502530)



>> Chat LOL help - UfsDev - 24.03.2014

HOW TO FIX DAT Chat >> Chat LOL Help Me Any Solution Click On Image To BIG





Re: >> Chat LOL help - PrivatioBoni - 24.03.2014

Did you really have to upload on a website with child porn in the background, I mean, seriously?

Also, post your code relating to OnPlayerText.


Re: >> Chat LOL help - UfsDev - 24.03.2014

public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000);
return 1;
}


Re: >> Chat LOL help - Hanuman - 24.03.2014

At what the hell u are uploading Images? Use imageshack.com for uploading any image.


Re: >> Chat LOL help - JeaSon - 24.03.2014

pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000);
return 0;
}



Re: >> Chat LOL help - Yochui - 24.03.2014

Well, if you want to make an local chat, use this:
Quote:

stock NearbyMessage(playerid, color, text[])
{
new Float: PlayerPos[3];
GetPlayerPos(playerid, PlayerPos[0], PlayerPos[1], PlayerPos[2]);
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i, 10.0(set your own distance), PlayerPos[0], PlayerPos[1], PlayerPos[2])
{
SendClientMessage(i, color, text);
}
}

}

I hope you you know how to use this. Use it under OnPlayerText.


Re: >> Chat LOL help - UfsDev - 24.03.2014

BUMP/////////////////////////////////////////////////////////////////////////////////////.