Roleplay Chats - 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: Roleplay Chats (
/showthread.php?tid=109861)
Roleplay Chats -
Renn47 - 22.11.2009
Hello! I have one question ...
How to make IC Chat and anothers roleplay chats ?? Please help
Re: Roleplay Chats -
Striker_Moe - 22.11.2009
I would suggest you to download Godfather or whatever and look at the code in there.
Although you can create a IC chat using
LimitGlobalChatRadius(30.0);
at OnGameModeInit.
Re: Roleplay Chats -
Renn47 - 23.11.2009
But how remove player icons on the map and player colors
Re: Roleplay Chats -
James_Bauer - 23.11.2009
Here i got you all chats i find good luck
Link:
http://www.2shared.com/file/9376870/.../GF_CHATS.html
Re: Roleplay Chats -
Renn47 - 23.11.2009
Yes , But how to remove player colours and player icon ?
Re: Roleplay Chats -
Joe Staff - 23.11.2009
Quote:
|
Originally Posted by Renn47
Yes , But how to remove player colours and player icon ?
|
The player's color is directly related to the player's icon, if the player's color has no alpha(opacity) then the icon will not be visible.
SetPlayerColor(playerid,0xFFFFFF00); -- This would make the player's chat and table(the TAB screen) color white, but since the alpha is 0, the Map Icon wil not show.
Re: Roleplay Chats -
Renn47 - 23.11.2009
wtf alpha ??
Re: Roleplay Chats -
Renn47 - 23.11.2009
Please add them for me. Add only chats please...
http://www.2shared.com/file/9381985/...TM_online.html
Yes, it is in Estonian, I am from Estonia
Re: Roleplay Chats -
Joe Staff - 23.11.2009
Quote:
|
Originally Posted by Renn47
wtf alpha ??
|
Hex colors are written as '0xRRGGBBAA' RR means Red, GG means Green, BB means Blue, AA means Alpha.
so '0xFF0000FF is' FF(255) red, 00(zero) green, 00(zero) blue, and FF(255) Alpha(Opacity, Translucency, Visibility).
'0xFF000000' is FF(255) red, but 00(zero) Alpha.
255 Alpha means it can be seen on radar, 0 Alpha means it cannot be seen on radar, 100 means it is faded, but still visible.
Re: Roleplay Chats -
gotenks918 - 23.11.2009
basically colour codes go from 0-F(Base 16) 0 being the lowest and F the highest.
0-9, A-F