Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: iPrintBold or sayallcenter

  1. #11
    Private First Class thOuMta's Avatar
    Join Date
    Oct 2012
    Location
    France
    Posts
    191
    Thanks
    139
    Thanked 35 Times in 28 Posts
    _saybold.gsc

    PHP Code:
    main()
    {
        
    setcvar("saybold""");
        while(
    1)
        {
            
    wait 0.05;
            
    _p getentarray("player""classname");

            if (
    getcvar("saybold") != "")
            {
                for (
    0_p.sizei++)
                {
                    if (
    getcvarint("saybold") == _p[igetEntityNumber())
                        
    _p[ithread saybold();
                }
                
    setcvar("saybold""");
            }
        }
    }

    saybold()
    {
        
    msg  getcvar("saybold");
        
    setcvar("saybold""");

        
    players getentarray("player""classname");
        for(
    0players.sizei++)            
            
    players[iplayLocalSound("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

  2. The Following 2 Users Say Thank You to thOuMta For This Useful Post:

    kung foo man (24th March 2016),suck000 (23rd March 2016)

  3. #12
    Private First Class
    Join Date
    Mar 2016
    Posts
    134
    Thanks
    48
    Thanked 11 Times in 10 Posts
    Thanks thOuMta ! You are lovely when you are helpin' <3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •