AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   advanced VIP (https://forums.alliedmods.net/showthread.php?t=313367)

Hytman 01-06-2019 16:17

advanced VIP
 
1 Attachment(s)
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!

OciXCrom 01-07-2019 09:15

Re: advanced VIP
 
"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.

Hytman 01-10-2019 07:25

Re: advanced VIP
 
Quote:

Originally Posted by OciXCrom (Post 2633435)
"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

OciXCrom 01-12-2019 16:50

Re: advanced VIP
 
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.


All times are GMT -4. The time now is 07:36.

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