View Full Version : iPrintBold or sayallcenter
suck000
22nd March 2016, 20:59
Hi !
Can anyone post here a script when i say /rcon sayallcenter , it goes iPrintinBold for all players ?
I need it :/
Thx
thOuMta
22nd March 2016, 21:11
1035
Hmm no !
voron00
22nd March 2016, 21:11
saybold()
{
setcvar("saybold","");
for(;;) {
wait 0.05;
if(getcvar("saybold")!="") {
iprintlnbold(getcvar("saybold"));
setcvar("saybold","");
wait 0.05;
}
}
wait .1;
}
IzNoGoD
23rd March 2016, 00:27
You sent me a PM 4 minutes after posting this?
http://img.memecdn.com/gtfo_o_209894.jpg
suck000
23rd March 2016, 06:16
This website is supposed to be for helping each others. But none ever helped me expect voron.
IzNoGod and thoumta please ignore urselfs. nik omkom el 9a7ba
na3n zabour omek ya thoumta w idek fi zebi na3n din rabek.
THX VORON
filthy_freak_
23rd March 2016, 08:08
This website is supposed to be for helping each others.
We don't mind people asking for help, but we do mind when there are kids using google translate that have zero experience when it comes to scripting only ask us to do everything for them. We're not here to make mods for you.
thOuMta
23rd March 2016, 09:18
Just use search function ! You spam all, like izno said you send PM 4 min after posting this !
This community is for help but have some tutorials to make servers and some scripts too, so stop spam!
suck000
23rd March 2016, 10:26
OK am sorry , i just need help.
I did not know how to make voron's script working.
thOuMta
23rd March 2016, 10:33
B3 poweradmin saybold:
_b3_saybold()
{
msg = getcvar("b3_saybold");
setcvar("b3_saybold", "");
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
players[i] playLocalSound("ctf_touchown");
iprintlnbold(msg);
}
suck000
23rd March 2016, 10:54
i put it in /maps/mp/gametypes ? and that's it ?
what i must write ingame sayall or sayallcenter ? thx thoumta
thOuMta
23rd March 2016, 11:05
_saybold.gsc
main()
{
setcvar("saybold", "");
while(1)
{
wait 0.05;
_p = getentarray("player", "classname");
if (getcvar("saybold") != "")
{
for (i = 0; i < _p.size; i++)
{
if (getcvarint("saybold") == _p[i] getEntityNumber())
_p[i] thread saybold();
}
setcvar("saybold", "");
}
}
}
saybold()
{
msg = getcvar("saybold");
setcvar("saybold", "");
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
players[i] playLocalSound("ctf_touchown");
iprintlnbold(msg);
}
Then in your gametype.gsc in Callback_StartGameType() add thread maps\mp\gametypes\_saybold::main();
And simply type /rcon saybold (text)
I dont test it so idk if its work
suck000
23rd March 2016, 11:19
Thanks thOuMta ! You are lovely when you are helpin' <3
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.