-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to unload the plugin after being loaded? #3
Comments
Certain weapons from uboa rampage have iPositions that conflict with the 1.6 plugin. If you want to completely disable weapon registering in that map then you should add some code to ignore the map after this line: if( string(g_Engine.mapname) == "uboa_rampage" )
return; |
Which file do i need to put that code? |
After this line in the cs16_register file |
That did the trick, thanks! |
if( string(g_Engine.mapname) == "uboa_rampage" || string(g_Engine.mapname) == "dis_beta" )
return; I used dis_beta as an example |
Alright, thanks for the example! |
I know this is too soon for me to post another issue but i've been trying to figure that out and i cant.
I know here is this thing of either you load the plugin for all the maps using the default_plugins.txt or load the plugin on specific maps you want by adding the map script but.. so far with what i had with this, this breaks a bit the uboa_rampage maps not being able to select certain weapons from the maps.
What i wanted to do is to see if i can add something for the uboa_rampage maps config files to disable the cs16 weapons but, it just did not worked.
That's why im asking if its possible to disable that plugin once its loaded from the default_plugins.txt for specific maps that breaks some other weapons.
If there is no way for that, then ill have to avoid loading those maps.
The text was updated successfully, but these errors were encountered: