RolePlay OOC speaking - 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 OOC speaking (
/showthread.php?tid=74618)
RolePlay OOC speaking -
KeyWay - 24.04.2009
Hello all.
Ive tryed to make 6hour this damn script......
I have Godfather gamemode. When you speak in godfather to others, there will be 5 different COLOUR_FADE, like when you say "Hello" from 5meter you see text darker, 10 meter more darker then longer away you wont see message at all. So i want same thing but OOC. I want to type "(" [text] like "( come to msn" its like OOC. Here is what i made so far...
Quote:
if(text[0] == '(')
{
GetPlayerName(playerid,sendername,sizeof(sendernam e));
format(string,sizeof(string), "%s: ((%s))", sendername);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5);
return 0;
}
|
When i write InGame it says like this Sean_Ferrington: ((Multiple players found plaaplaaplaa)) something like that, whatever i write.
Re: RolePlay OOC speaking -
MenaceX^ - 24.04.2009
Go to GF topic before Kaiser bans you! Hurry!!!