Raised This Month: $32 Target: $400
 8% 

advanced VIP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hytman
Member
Join Date: Oct 2013
Old 01-06-2019 , 16:17   advanced VIP
Reply With Quote #1

Hello guys
I have mixed up a few plugins to make this VIP plugin as i wanted,but it looks like i have an issue,can someone help me out please!?
I have added debug after the plugin name in plugins.ini


L 12/31/2018 - 08:00:44: [AMXX] Displaying debug trace (plugin "advancedVIP.amxx")
L 12/31/2018 - 08:00:44: [AMXX] Run time error 10: native error (native "ShowSyncHudMsg")
L 12/31/2018 - 08:00:44: [AMXX] [0] advancedVIP.sma::hud_mess (line 426)

ShowSyncHudMsg(0, g_sync, "FREE VIP ON."); ///line 426

and another issue;
the plugin is setup to show guns menu from the 5'th round

if(round[id]>=5) ///line126

but i have a warm up plugin who makes 60 seconds of warm knifes only and its respawn,i know if you get killed it counts like a round,so in the warm up round if you get killed 5 time then when the game begin like the first round normal the VIP player gets the gun menu,how can i do to get the gun menu from the 5th round???If is necessary i will post the warm up plugin to!

Please HELP!
Attached Files
File Type: sma Get Plugin or Get Source (advancedVIP.sma - 354 views - 17.8 KB)
Hytman is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-07-2019 , 09:15   Re: advanced VIP
Reply With Quote #2

"ShowSyncHudMsg()" is used before creating the "g_sync" HUD object with "CreateHudSyncObj()" or you're not creating it at all.

If you don't have any rounds in your server - you don't have round, that's it. Count the rounds as a player's death for each player and activate the menu after the 5th death.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Hytman
Member
Join Date: Oct 2013
Old 01-10-2019 , 07:25   Re: advanced VIP
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
"ShowSyncHudMsg()" is used before creating the "g_sync" HUD object with "CreateHudSyncObj()" or you're not creating it at all.

If you don't have any rounds in your server - you don't have round, that's it. Count the rounds as a player's death for each player and activate the menu after the 5th death.
Can you modify my plugin?I have no idea how to do this, please!
thank you in advance
Hytman is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-12-2019 , 16:50   Re: advanced VIP
Reply With Quote #4

If you want someone to modify it, post in the requests section. This section is for learning scripting, not waiting for someone else to do it for you.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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:15.


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