My Map Changing Plugin for TS.
this is my script i made myself. Yes it's probably stupidly wrong but it's my first plugin. I want it so it doesn't repeat the cycle more than 1 time, i only want it to do this once, how do i do this? thanks
Quote:
|
Re: My Map Changing Plugin for TS.
Is this what you're looking for?
Code:
|
Re: My Map Changing Plugin for TS.
I used this in one of my plugins that ends the map if you use amx_extend -x where x is greater than the time remaining. I believe I may have originally taken some code from the original amx_map command.
Code:
|
Re: My Map Changing Plugin for TS.
Quote:
It changes the map every 5 seconds, i only want it to change the map ONCE after 5 seconds the server is up (Edit the plugin so it doesn't repeat itself, if possible. If not possible, then forget about it.) Quote:
|
Re: My Map Changing Plugin for TS.
Well I think this is the easiest way to do that. You could, instead, write a value to a file and check if the function has been executed. If you're just trying to start a server with a specific map, check out the .bat below.
Code:
I use a .bat to start my server, it looks like this: Code:
start /high hlds.exe -console -game ts -port 27017 -maxplayers 10 +map mecklenburg_b5 |
Re: My Map Changing Plugin for TS.
I use a script in .bat as well to restart my server. But that's not the point.. It's a amxx plugin whats causing the map not to change to mecklenburgv5_a6 so that's why i want this plugin..
anyway.. this plugin works.. thanks +karma |
| All times are GMT -4. The time now is 10:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.