Raised This Month: $ Target: $400
 0% 

how to add vip flag to this plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
gfxchris
Member
Join Date: Feb 2016
Old 12-27-2020 , 23:17   how to add vip flag to this plugin
Reply With Quote #1

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?
Attached Files
File Type: sma Get Plugin or Get Source (biovip.sma - 69 views - 15.9 KB)
File Type: sma Get Plugin or Get Source (normalvip.sma - 63 views - 23.0 KB)
File Type: sma Get Plugin or Get Source (biovip errors.sma - 73 views - 19.4 KB)
gfxchris is offline
 



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 14:14.


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