Raised This Month: $ Target: $400
 0% 

how to add vip flag to this plugin


Post New Thread Reply   
 
Thread Tools Display Modes
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 - 74 views - 19.4 KB)
gfxchris is offline
lexzor
Veteran Member
Join Date: Nov 2020
Old 12-30-2020 , 06:41   Re: how to add vip flag to this plugin
Reply With Quote #2

ce incerci sa faci mai exact ? vrei sa setezi free vipul pe flaguri ?
lexzor is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-30-2020 , 08:50   Re: how to add vip flag to this plugin
Reply With Quote #3

Quote:
Originally Posted by lexzor View Post
ce incerci sa faci mai exact ? vrei sa setezi free vipul pe flaguri ?
__________________








CrazY. is offline
gfxchris
Member
Join Date: Feb 2016
Old 12-30-2020 , 09:47   Re: how to add vip flag to this plugin
Reply With Quote #4

Quote:
Originally Posted by lexzor View Post
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
gfxchris is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-30-2020 , 11:20   Re: how to add vip flag to this plugin
Reply With Quote #5

This is an English forum, speak in English.
__________________
fysiks is offline
gfxchris
Member
Join Date: Feb 2016
Old 01-03-2021 , 11:10   Re: how to add vip flag to this plugin
Reply With Quote #6

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


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