![]() |
Execute script file
Is it possible to execute a script file (scr) when I press a key?
bind m "exec global/script.scr" doesnt work... |
I think you can only execute configs, but I might be wrong.
|
Yeah that was I thought but maybe theres a way to execute script when the user press a key?
|
What exactly are you wanting the script to do ?
|
I wanna show a message using the iprintln function when the user press a key for example...
|
You mean like when you press the key, you say a pre-programmed comment?
|
Nope first do you know what does the function iprintln do? I dont wanna use the say command...
I want to execute a script when the user press a key... The message I wanna show is where u can see "A bomb has been planted" in the left part of the screen... |
Or is it possible to execute a script when a cvar value has changed?
|
I would try renaming the scr to cfg. Very wild guess, but whynot try it.
|
Thats okay someone from TMT answered my question but thanks for the help anyway!
|
All times are GMT -6. The time now is 12:00 PM. |
Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.