litle filterscript - 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: litle filterscript (
/showthread.php?tid=348209)
litle filterscript -
Stereotype - 04.06.2012
Ok i can't explain but in some reason i dont know how to make this..
if i set command /makescripter or /makemapper on player it make that set player tag (you know that above the name)
/makescripter - tag : [SCRIPTER]
/makemapper - tag : [MAPPER]
and to save that to one other log for example tags.ini
and to ofc loads it when player connects

Thank you.
Re: litle filterscript -
Firo - 04.06.2012
Can you speak English?
If i understood right you want a text above the player? Send us the commands.
Re: litle filterscript -
dannyk0ed - 04.06.2012
Quote:
Originally Posted by Firo
Can you speak English?
If i understood right you want a text above the player? Send us the commands.
|
Banja Luka, Federation of Bosnia and Herzegovina
Re: litle filterscript -
Firo - 04.06.2012
Quote:
Originally Posted by dannyk0ed
Banja Luka, Federation of Bosnia and Herzegovina
|
Word.
Re: litle filterscript -
Stereotype - 05.06.2012
How you don't understand me O.o :P
/makescripter - tag above the name : [SCRIPTER]
/makemapper - tag above the name : [MAPPER]
Re: litle filterscript -
Vegas. - 05.06.2012
SetPlayerChatBubble?
Attach3dTextLabelToPlayer?
Re: litle filterscript -
Stereotype - 05.06.2012
YES !

and to save it on PlayerDisconnect and to load it on PlayerConnect
Re: litle filterscript -
Firo - 05.06.2012
SetPlayerChatBubble(playerid, "SCRIPTER", 0xFF0000FF, 100.0, 10000);
SetPlayerChatBubble(playerid, "MAPPER", 0xFF0000FF, 100.0, 10000);
https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
Use this function.
Re: litle filterscript -
Stereotype - 05.06.2012
Tnx guys +rep
Re: litle filterscript -
Stereotype - 05.06.2012
Just what about saving it on PlayerDisconnect and to load it on PlayerConnect
Re: litle filterscript -
Vegas. - 05.06.2012
You should use foreach with that.. Like this:
Quote:
public ChatDouble()
{
foreach(Player,i)
{
if(PlayerInfo[i][pScripter] == 1)
{
SetPlayerChatBubble(i, "[ SCRIPTER ]", COLOR_RED, 30.0,60000);
}
else if(PlayerInfo[i][pMapper] == 1)
{
SetPlayerChatBubble(i, "[ MAPPER ]", COLOR_RED, 30.0,60000);
}
}
return 1;
}
|
And also use timer OnGameModeInit, SetTimer("ChatDouble",3000,1); and add a forward ChatDouble();
Re: litle filterscript -
Stereotype - 05.06.2012
can u read pm?