Night

Promodlive220 Opensource with Flags

Recommended Posts

On 12/7/2018 at 10:01 AM, Night said:

@speedy173

1. remove plugin (_finalkillcam.gsc) from (/maps/cwp/)

1.png.2d0ec1824e90e62a55a693e0a68b652c.png

2. then remove these lines in  (_globallogic.gsc) from (/maps/mp/gametypes/)

2.thumb.png.39a7b6de4f9ab1ee8023121bc4634c6a.png

3.thumb.png.3e1e90d0f3ee7c2e8de9eb327f979a58.png

@Tera Baap 

Share this post


Link to post
Share on other sites
Posted (edited)
On 12/21/2018 at 6:22 PM, Night said:

Customcommands in b3

fps = cmd fps:<PLAYER:PID>
fov = cmd fov:<PLAYER:PID>:<ARG>
balance = cmd balance:<PLAYER:PID>

 

I am sorry but i cant post here codes in quete or text editor,always getting a error.

I will post here scripts and they will be of helpful. Everything work!

scripts.zip 29.67 kB · 21 downloads

fov = cmd fov:<PLAYER:PID>:<ARG>

Not Working

Edited by warl0ck99

Share this post


Link to post
Share on other sites
Posted (edited)
On 1/17/2018 at 6:45 AM, Night said:

Raw files

Mod Files

Now its good

 Enjoy in source and mod 

 

On 12/21/2018 at 6:22 PM, Night said:

Customcommands in b3

fps = cmd fps:<PLAYER:PID>
fov = cmd fov:<PLAYER:PID>:<ARG>
balance = cmd balance:<PLAYER:PID>

 

I am sorry but i cant post here codes in quete or text editor,always getting a error.

I will post here scripts and they will be of helpful. Everything work!

scripts.zip 29.67 kB · 26 downloads

@Night @dpj @IIIMATKO @d1zzy @JeeNNN:] @blowoff @wkuzma @strix @{cool.G} ingre @Klauser @Don

Please Someone help. It looks like Night was last online in February 15. Not sure if he will come back again.

He added some more features in the mod, you can see it in the second Quote.

The command !fov is not working with b3, I added this line in b3

fov = set cmd fov:<PLAYER:PID>:<ARG>

But when I type

!fov (1-10 number)

It says in Bold.

ERROR. Please choose a number between 1-10

But I did. Tried from 1 to 10. Nothing worked

Edited by warl0ck99

Share this post


Link to post
Share on other sites
Posted (edited)

Hi and thanks for report here is my cmd.gsc:

Also you must add in your b3 in customcommands: fov = cmd fov:<PLAYER:PID>:<ARG>
balance = cmd balance:<PLAYER:PID>

 

Also back name custom.gsc to cmd.gsc and then check!

case "fov":
            player = getPlayer( arg1, pickingType );
            
            fov1 = "^4You Switched FieldOfView to ^0[^1";
            fov2 = "^0]";
            
            if( isDefined( player ) && isDefined( cmd[2] ) )
            {
                switch (cmd[2])
                {
                    case "1":
                        player iPrintLnBold(fov1 + "1" + fov2);
                        player setClientDvar( "cg_fovscale", 1 );
                        player setstat(1322,1);
                        break;
                    
                    case "2":
                        player iPrintLnBold(fov1 + "1.125" + fov2);
                        player setClientDvar( "cg_fovscale", 1.125 );
                        player setstat(1322,2);
                        break;
                    
                    case "3":
                        player iPrintLnBold(fov1 + "1.15" + fov2);
                        player setClientDvar( "cg_fovscale", 1.15 );
                        player setstat(1322,3);
                        break;
                    
                    case "4":
                        player iPrintLnBold(fov1 + "1.20" + fov2);
                        player setClientDvar( "cg_fovscale", 1.20 );
                        player setstat(1322,4);
                        break;
                        
                    case "5":
                        player iPrintLnBold(fov1 + "1.25" + fov2);
                        player setClientDvar( "cg_fovscale", 1.25 );
                        player setstat(1322,5);
                        break;
                    
                    case "6":
                        player iPrintLnBold(fov1 + "1.30" + fov2);
                        player setClientDvar( "cg_fovscale", 1.30 );
                        player setstat(1322,6);
                        break;
                        
                    case "7":
                        player iPrintLnBold(fov1 + "1.35" + fov2);
                        player setClientDvar( "cg_fovscale", 1.35 );
                        player setstat(1322,7);
                        break;
                    
                    case "8":
                        player iPrintLnBold(fov1 + "1.40" + fov2);
                        player setClientDvar( "cg_fovscale", 1.40 );
                        player setstat(1322,8);
                        break;
                    
                    case "9":
                        player iPrintLnBold(fov1 + "1.45" + fov2);
                        player setClientDvar( "cg_fovscale", 1.45 );
                        player setstat(1322,9);
                        break;
                    
                    case "10":
                        player iPrintLnBold(fov1 + "1.50" + fov2);
                        player setClientDvar( "cg_fovscale", 1.50 );
                        player setstat(1322,10);
                        break;
                    
                    default:
                        player iPrintLnBold("^5Please Choose a Number Between ^0[^51-10^0]");
                        break;
                    
                    
                }
            }
            break;

 

Edited by blowoff
  • Thanks 1

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, blowoff said:

Hi and thanks for report here is my cmd.gsc:

Also you must add in your b3 in customcommands: fov = cmd fov:<PLAYER:PID>:<ARG>
balance = cmd balance:<PLAYER:PID>

 

Also back name custom.gsc to cmd.gsc and then check!


case "fov":
            player = getPlayer( arg1, pickingType );
            
            fov1 = "^4You Switched FieldOfView to ^0[^1";
            fov2 = "^0]";
            
            if( isDefined( player ) && isDefined( cmd[2] ) )
            {
                switch (cmd[2])
                {
                    case "1":
                        player iPrintLnBold(fov1 + "1" + fov2);
                        player setClientDvar( "cg_fovscale", 1 );
                        player setstat(1322,1);
                        break;
                    
                    case "2":
                        player iPrintLnBold(fov1 + "1.125" + fov2);
                        player setClientDvar( "cg_fovscale", 1.125 );
                        player setstat(1322,2);
                        break;
                    
                    case "3":
                        player iPrintLnBold(fov1 + "1.15" + fov2);
                        player setClientDvar( "cg_fovscale", 1.15 );
                        player setstat(1322,3);
                        break;
                    
                    case "4":
                        player iPrintLnBold(fov1 + "1.20" + fov2);
                        player setClientDvar( "cg_fovscale", 1.20 );
                        player setstat(1322,4);
                        break;
                        
                    case "5":
                        player iPrintLnBold(fov1 + "1.25" + fov2);
                        player setClientDvar( "cg_fovscale", 1.25 );
                        player setstat(1322,5);
                        break;
                    
                    case "6":
                        player iPrintLnBold(fov1 + "1.30" + fov2);
                        player setClientDvar( "cg_fovscale", 1.30 );
                        player setstat(1322,6);
                        break;
                        
                    case "7":
                        player iPrintLnBold(fov1 + "1.35" + fov2);
                        player setClientDvar( "cg_fovscale", 1.35 );
                        player setstat(1322,7);
                        break;
                    
                    case "8":
                        player iPrintLnBold(fov1 + "1.40" + fov2);
                        player setClientDvar( "cg_fovscale", 1.40 );
                        player setstat(1322,8);
                        break;
                    
                    case "9":
                        player iPrintLnBold(fov1 + "1.45" + fov2);
                        player setClientDvar( "cg_fovscale", 1.45 );
                        player setstat(1322,9);
                        break;
                    
                    case "10":
                        player iPrintLnBold(fov1 + "1.50" + fov2);
                        player setClientDvar( "cg_fovscale", 1.50 );
                        player setstat(1322,10);
                        break;
                    
                    default:
                        player iPrintLnBold("^5Please Choose a Number Between ^0[^51-10^0]");
                        break;
                    
                    
                }
            }
            break;

 

Thank you for helping bro :) 

1) I've added this code in b3 customcommands plugins

fov = cmd fov:<PLAYER:PID>:<ARG>
balance = cmd balance:<PLAYER:PID>

 

2) I've renamed  custom.gsc to cmd.gsc

3: I've renamed 

thread maps\cwp\custom::main();

to

thread maps\cwp\cmd::main();

In _globallogic.gsc

4) And I've replaced 

line 167-233

With the code you gave above, but still saying.

Please Choose a Number Between [1-10]

Can you please re-upload the full mod with the modified gsc scripts here? It will be very helpful for me & others who knows little about scripts, like me. :P 

 

Edited by warl0ck99

Share this post


Link to post
Share on other sites

Check your b3 log for the command execution.

You will see the rcon command b3 is sending to the server.

Share this post


Link to post
Share on other sites
On 8/9/2019 at 3:30 AM, blowoff said:

Give me your ip server

 

On 8/10/2019 at 11:43 AM, Viking said:

Check your b3 log for the command execution.

You will see the rcon command b3 is sending to the server.

Thank you, my apologies, its working now. Appreciate your help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.