Raised This Month: $7 Target: $400
 1% 

Subplugin Submission [ZP] Zombie VIP 1.9.1


Post New Thread Reply   
 
Thread Tools Display Modes
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 03-01-2010 , 14:18   Re: [ZP] Zombie VIP 1.3
Reply With Quote #21

Code:
Admin Level Constants: 
#define ADMIN_ALL		0	//Everyone
#define ADMIN_IMMUNITY		1	//Flag "a", immunity
#define ADMIN_RESERVATION	2	//Flag "b", reservation
#define ADMIN_KICK		4	//Flag "c", kick
#define ADMIN_BAN		8	//Flag "d", ban
#define ADMIN_SLAY		16	//Flag "e", slay
#define ADMIN_MAP		32	//Flag "f", map change
#define ADMIN_CVAR		64	//Flag "g", cvar change
#define ADMIN_CFG		128	//Flag "h", config execution
#define ADMIN_CHAT		256	//Flag "i", chat
#define ADMIN_VOTE		512	//Flag "j", vote
#define ADMIN_PASSWORD		1024	//Flag "k", sv_password
#define ADMIN_RCON		2048	//Flag "l", rcon access
#define ADMIN_LEVEL_A		4096	//Flag "m", custom
#define ADMIN_LEVEL_B		8192	//Flag "n", custom
#define ADMIN_LEVEL_C		16384	//Flag "o", custom
#define ADMIN_LEVEL_D		32768	//Flag "p", custom
#define ADMIN_LEVEL_E		65536	//Flag "q", custom
#define ADMIN_LEVEL_F		131072	//Flag "r", custom
#define ADMIN_LEVEL_G		262144	//Flag "s", custom
#define ADMIN_LEVEL_H		524288	//Flag "t", custom
#define ADMIN_MENU		1048576	//Flag "u", menus
#define ADMIN_ADMIN		16777216	//Flag "y", default admin
#define ADMIN_USER		33554432	//Flag "z", default user
If you want to use "e" flag, use ADMIN_SLAY

On the other hand. Show me full error. Are you using latest amxmodx?

Last edited by aaarnas; 03-01-2010 at 14:20.
aaarnas is offline
manafi
Senior Member
Join Date: Jun 2009
Old 03-01-2010 , 17:52   Re: [ZP] Zombie VIP 1.3
Reply With Quote #22

I want use "q" flag.

zm_vip.sma
С:\blablablablablabla\scripting\zm_vip.s ma<1> : error 010: invalid function or declaration

1 error
Could not locate output file C:\blablablabla\scripting\compiled\zm_vip.amx <compile failed>

This is my error

P.S Sorry can't upload screenshot
manafi is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 03-02-2010 , 06:55   Re: [ZP] Zombie VIP 1.3
Reply With Quote #23

That's interesting. Ar you writed #define ADMIN_LEVEL_E or #define VIPACCES ADMIN_LEVEL_E ?
aaarnas is offline
manafi
Senior Member
Join Date: Jun 2009
Old 03-02-2010 , 11:01   Re: [ZP] Zombie VIP 1.3
Reply With Quote #24

I writed

#define VIPACCES ADMIN_LEVEL_E
#define MJACCES ADMIN_LEVEL_E

This error only on new version where you add Cvar Nemesis +hp
manafi is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 03-02-2010 , 11:38   Re: [ZP] Zombie VIP 1.3
Reply With Quote #25

Everything is fine for me. These changes in the new version shouldn't affect it. Try redownload your compiler.
http://www.amxmodx.org/downloads.php
aaarnas is offline
manafi
Senior Member
Join Date: Jun 2009
Old 03-02-2010 , 14:34   Re: [ZP] Zombie VIP 1.3
Reply With Quote #26

i redownload but this dont help me,can you compile this for me pls?
Attached Files
File Type: sma Get Plugin or Get Source (zm_vip.sma - 1198 views - 5.5 KB)
manafi is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 03-02-2010 , 16:15   Re: [ZP] Zombie VIP 1.3
Reply With Quote #27

There. You was added a symbol "ļ»æ" in the top line of .sma plugin, so compiler couldn't read it. I deleted it. Now it's ok.
Attached Files
File Type: sma Get Plugin or Get Source (zm_vip.sma - 1337 views - 5.7 KB)
File Type: amxx zm_vip.amxx (10.0 KB, 539 views)
aaarnas is offline
manafi
Senior Member
Join Date: Jun 2009
Old 03-02-2010 , 16:54   Re: [ZP] Zombie VIP 1.3
Reply With Quote #28

Big thx you aaarnas again.
manafi is offline
manafi
Senior Member
Join Date: Jun 2009
Old 03-14-2010 , 20:07   Re: [ZP] Zombie VIP 1.3
Reply With Quote #29

aaarnas you can add in VIP somethink like this
manafi is offline
SpILL
Veteran Member
Join Date: Oct 2009
Location: Karachi, Pakistan
Old 03-14-2010 , 20:27   Re: [ZP] Zombie VIP 1.3
Reply With Quote #30

Quote:
Originally Posted by manafi View Post
aaarnas you can add in VIP somethink like this
Code:
#include <amxmodx> #include <amxmisc> new g_szVIPMap public plugin_init() {     register_plugin("Unknown Title", "0.1", "Unknown Author")     register_event("ResetHUD", "ResetHUD", "be")         new szMapName[32]     get_mapname(szMapName, 31)         if (containi(szMapName, "as_") > -1)         g_szVIPMap = 1 } public ResetHUD(id) {     set_task(0.5, "VIP", id + 6910) } public VIP(TaskID) {     if (g_szVIPMap)         return PLUGIN_HANDLED             new id = TaskID - 6910         if (is_user_admin(id))     {         message_begin(MSG_ALL, get_user_msgid("ScoreAttrib"))         write_byte(id)         write_byte(4)         message_end()     }         return PLUGIN_HANDLED }
__________________


SpILL is offline
Reply


Thread Tools
Display Modes

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


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