Raised This Month: $51 Target: $400
 12% 

Paintball VIP plugin request


Post New Thread Reply   
 
Thread Tools Display Modes
Grav3yardman
Member
Join Date: Oct 2021
Old 11-03-2021 , 06:34   Re: Paintball VIP plugin request
Reply With Quote #11

There is one bug with unlimited ammo
When I empty the rifle to the end and quickly load it by pressing Q it only fills it with eleven bullets
Everything else works good
Grav3yardman is offline
Grav3yardman
Member
Join Date: Oct 2021
Old 11-03-2021 , 06:38   Re: Paintball VIP plugin request
Reply With Quote #12

One more bug
No perfix
Grav3yardman is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-03-2021 , 06:58   Re: Paintball VIP plugin request
Reply With Quote #13

Quote:
Originally Posted by Napoleon_be View Post
Do u read everything that i type? Test again and get back to me.
You can use my vip API system it works great,
And it will be easy to use.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 11-03-2021 at 07:10.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2021 , 07:58   Re: Paintball VIP plugin request
Reply With Quote #14

Quote:
Originally Posted by Natsheh View Post
You can use my vip API system it works great,
And it will be easy to use.
Actually, i used your code as an example, only adjusted it to my likings. Might be using more of it when i decide to add the other stuff. This should do for now as i don't have a lot of time today.

Quote:
Originally Posted by Grav3yardman View Post
One more bug
No perfix
You have to be kidding me, right? Can u please show me where i said that the "VIP Prefix" is already done?

I adjusted the amount of 10 bullets, to 100. This should do the trick.
__________________

Last edited by Napoleon_be; 11-03-2021 at 08:04.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Grav3yardman
Member
Join Date: Oct 2021
Old 11-03-2021 , 09:17   Re: Paintball VIP plugin request
Reply With Quote #15

You didn’t say anywhere that the VIP perfix is over
Sorry.My bad

Last edited by Grav3yardman; 11-03-2021 at 09:46.
Grav3yardman is offline
Grav3yardman
Member
Join Date: Oct 2021
Old 11-03-2021 , 10:14   Re: Paintball VIP plugin request
Reply With Quote #16

One more bug
When the map changes the first round I just get unlimited ammo. No grenades, 200 hp, def,armor
Grav3yardman is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2021 , 11:51   Re: Paintball VIP plugin request
Reply With Quote #17

I came upon a little bug myself. The plugin was giving everyone the hp, armor, nades, etc. instead of only VIP Players. Also, i see no reason why it won't work, the plugin is configured to give those items on round start.

Lower gravity has been added aswell, u can use the "pb_gravity" cvar for that. Let me know if it works.

Code has been updated.

If anyone could come up with a valid argument why it's not working on the first round after map change, please enlighten me.

EDIT: Slot reservation has been added. Amount of slots can be changed by using "pb_slots" cvar
__________________

Last edited by Napoleon_be; 11-03-2021 at 12:36.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Grav3yardman
Member
Join Date: Oct 2021
Old 11-03-2021 , 12:37   Re: Paintball VIP plugin request
Reply With Quote #18

"pb_gravity" cvar work
But if I want to give someone a VIP I don't know how to do it

EDIT: Slot cvar work fine

Last edited by Grav3yardman; 11-03-2021 at 12:44.
Grav3yardman is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2021 , 15:10   Re: Paintball VIP plugin request
Reply With Quote #19

Quote:
Originally Posted by Grav3yardman View Post
"pb_gravity" cvar work
But if I want to give someone a VIP I don't know how to do it

EDIT: Slot cvar work fine
An easy way to do it is to use amx_addadmin and give the user flag "t". There's no reason for me to add an extra command to add vip's when there's already such thing that comes with amxmodx.
amx_reloadadmins to refresh all admins/vips.

For the [VIP] prefix, you can use this: https://forums.alliedmods.net/showthread.php?t=297952

So as far as i know, everything here is done.

EDIT: Changed something in the currentWeapon() event so that the loop breaks if an excluded weapon is found.
__________________

Last edited by Napoleon_be; 11-03-2021 at 18:51.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Grav3yardman
Member
Join Date: Oct 2021
Old 11-04-2021 , 13:54   Re: Paintball VIP plugin request
Reply With Quote #20

Thank you for this plugin
Grav3yardman 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 13:43.


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