AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Server CMD to execute a .cfg file (https://forums.alliedmods.net/showthread.php?t=168381)

Diegorkable 09-28-2011 08:17

Server CMD to execute a .cfg file
 
Hey guys.

I have a pug mode and I scripted in it that in some public where it ALWAYS reaches, to do a server_cmd("exec live.cfg") (in order to execute the scrim commands). the live.cfg is in my cstrike folder, and I know it works and should work is that because sometimes it gets executed, the problem is, that sometimes not. What may make it happen that it wont get executed sometimes? How can I fix that wierd bug?

Dr7sTyLe 09-28-2011 10:40

Re: Server CMD to execute a .cfg file
 
Quote:

Originally Posted by Diegorkable (Post 1564672)
Hey guys.

I have a pug mode and I scripted in it that in some public where it ALWAYS reaches, to do a server_cmd("exec live.cfg") (in order to execute the scrim commands). the live.cfg is in my cstrike folder, and I know it works and should work is that because sometimes it gets executed, the problem is, that sometimes not. What may make it happen that it wont get executed sometimes? How can I fix that wierd bug?

try to put a client_print in their and check if the when the file isnt executed the client_print isnt excuted either ..
and if so the public isnt called.

fysiks 09-28-2011 18:25

Re: Server CMD to execute a .cfg file
 
Quote:

Originally Posted by Diegorkable (Post 1564672)
I have a pug mode and I scripted in it that in some public where it ALWAYS reaches, to do a server_cmd("exec live.cfg")

Have you proven this? Don't just say yes, prove it to us (show code) because I can't think of any other logical reason.


All times are GMT -4. The time now is 19:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.