Raised This Month: $ Target: $400
 0% 

How do I add a model to a grenade in this plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-28-2023 , 23:58   Re: How do I add a model to a grenade in this plugin?
Reply With Quote #11

The only thing that I can think of why it might not work as you expect is if you want/need different conditions for the second plugin to be able to show the model. In other words, the second plugin has extra checks before it will allow setting the pumpkin model.

In my opinion, the second plugin shouldn't have any checks in it. You should be able to do this by modifying the second plugin to remove line 112 which is:

Code:
	if( is_day() && get_running_day_pumpkin() || is_lr_active() && is_user_lr( client ) )
See if that helps at all.
__________________

Last edited by fysiks; 08-29-2023 at 00:14.
fysiks is offline
Apocalyman
Member
Join Date: Nov 2022
Old 08-29-2023 , 07:03   Re: How do I add a model to a grenade in this plugin?
Reply With Quote #12

Quote:
Originally Posted by fysiks View Post
The only thing that I can think of why it might not work as you expect is if you want/need different conditions for the second plugin to be able to show the model. In other words, the second plugin has extra checks before it will allow setting the pumpkin model.

In my opinion, the second plugin shouldn't have any checks in it. You should be able to do this by modifying the second plugin to remove line 112 which is:

Code:
	if( is_day() && get_running_day_pumpkin() || is_lr_active() && is_user_lr( client ) )
See if that helps at all.
I see! I will check it now and hopefully it will give the the first plugin the pumpkin model when choosing Pumpkin Duel in the /lr menu!
Apocalyman is offline
Apocalyman
Member
Join Date: Nov 2022
Old 08-29-2023 , 18:30   Re: How do I add a model to a grenade in this plugin?
Reply With Quote #13

Quote:
Originally Posted by fysiks View Post
The only thing that I can think of why it might not work as you expect is if you want/need different conditions for the second plugin to be able to show the model. In other words, the second plugin has extra checks before it will allow setting the pumpkin model.

In my opinion, the second plugin shouldn't have any checks in it. You should be able to do this by modifying the second plugin to remove line 112 which is:

Code:
	if( is_day() && get_running_day_pumpkin() || is_lr_active() && is_user_lr( client ) )
See if that helps at all.
did not seem to work
Apocalyman is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-29-2023 , 22:35   Re: How do I add a model to a grenade in this plugin?
Reply With Quote #14

I guess you'll need to do some debugging to see what is and isn't being called in both of your plugins.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:45.


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