AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to add vip flag to this plugin (https://forums.alliedmods.net/showthread.php?t=329523)

gfxchris 12-27-2020 23:17

how to add vip flag to this plugin
 
3 Attachment(s)
hello,im here with a new issue,i tried to add a flag for this vip plugin (biovip) (i need a flag to use a free hour vip type plugin)
i dont really wanted to show the plugin i've worked on cause its a disaster XD

anyways,the second plugin i attached (normalvip) is the one that i tried to copy the flag part from but i just can't get it to work properly,got all kind of errors

Code:

L 12/28/2020 - 06:13:52: Start of error session.
L 12/28/2020 - 06:13:52: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20201228.log")
L 12/28/2020 - 06:13:52: Function "CmdAddVips" was not found
L 12/28/2020 - 06:13:52: [AMXX] Displaying debug trace (plugin "bioviptest.amxx")
L 12/28/2020 - 06:13:52: [AMXX] Run time error 19: function not found
L 12/28/2020 - 06:13:52: [AMXX]    [0] bioviptest.sma::plugin_init2 (line 103)
L 12/28/2020 - 06:13:52: [AMXX]    [1] bioviptest.sma::plugin_init (line 85)
L 12/28/2020 - 06:13:53: Invalid CVAR pointer
L 12/28/2020 - 06:13:53: [AMXX] Displaying debug trace (plugin "bioviptest.amxx")
L 12/28/2020 - 06:13:53: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/28/2020 - 06:13:53: [AMXX]    [0] bioviptest.sma::Ham_ResetMaxSpeedPost (line 362)
L 12/28/2020 - 06:13:53: Invalid CVAR pointer
L 12/28/2020 - 06:13:53: [AMXX] Displaying debug trace (plugin "bioviptest.amxx")
L 12/28/2020 - 06:13:53: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/28/2020 - 06:13:53: [AMXX]    [0] bioviptest.sma::MessageScoreAttrib (line 457)
L 12/28/2020 - 06:13:53: Invalid CVAR pointer
L 12/28/2020 - 06:13:53: [AMXX] Displaying debug trace (plugin "bioviptest.amxx")
L 12/28/2020 - 06:13:53: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/28/2020 - 06:13:53: [AMXX]    [0] bioviptest.sma::client_putinserver (line 237)
L 12/28/2020 - 06:14:32: Invalid CVAR pointer
L 12/28/2020 - 06:14:32: [AMXX] Displaying debug trace (plugin "bioviptest.amxx")
L 12/28/2020 - 06:14:32: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/28/2020 - 06:14:32: [AMXX]    [0] bioviptest.sma::event_Damage (line 292)

so to summ it up,biovip works fine,but it doesent have any flag so i can activate a free vip hour plugin
the biovip errors plugin is the one that i tried to implement free vip hour but got a lot of errors in console,as you can see above

and the question is,how can i implement this properly?

lexzor 12-30-2020 06:41

Re: how to add vip flag to this plugin
 
ce incerci sa faci mai exact ? vrei sa setezi free vipul pe flaguri ?

CrazY. 12-30-2020 08:50

Re: how to add vip flag to this plugin
 
Quote:

Originally Posted by lexzor (Post 2730674)
ce incerci sa faci mai exact ? vrei sa setezi free vipul pe flaguri ?

https://i.pinimg.com/originals/26/71...1ff665e3e2.png

gfxchris 12-30-2020 09:47

Re: how to add vip flag to this plugin
 
Quote:

Originally Posted by lexzor (Post 2730674)
ce incerci sa faci mai exact ? vrei sa setezi free vipul pe flaguri ?

incerc sa setez free vip ul sa functioneze in primul rand,si am incercat sa-i adaug free vip din alta sursa si sa adaug si flag dar nu mi-a reusit

fysiks 12-30-2020 11:20

Re: how to add vip flag to this plugin
 
This is an English forum, speak in English.

gfxchris 01-03-2021 11:10

Re: how to add vip flag to this plugin
 
well,what he asked me is what exactly do i want to do
the answer is: i want to add a flag to biovip.sma so i can enable the free vip event


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

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