Raised This Month: $32 Target: $400
 8% 

Jailbreak VIP


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Lolz123
Member
Join Date: Aug 2010
Old 06-30-2011 , 19:47   Jailbreak VIP
Reply With Quote #1

Jailbreak VIP PLUGIN by lolz123 aka FXP_uNic0rn


Discription:

When a player is a VIP player he is allowed to use vip_tsay or # in chat

When player is spawn he get 1 flashbang and Extra 20 Health.

A player with a VIP got tag in chat default: * Vip * <name>


Cvars:

amx_cvar jb_vip 1\0 - enable or disable the plugin
amx_cvar jb_list 1\0 - enable or disable the vip list [ /vip in chat ]
jb_set_user_vip <name> - admin command, set vip to a player
jb_remove_user_vip <name> - admin command, remove vip from a player.






Attached Files
File Type: sma Get Plugin or Get Source (vipchat.sma - 3899 views - 3.9 KB)
File Type: sma Get Plugin or Get Source (Vip.sma - 3681 views - 5.9 KB)

Last edited by Lolz123; 07-01-2011 at 11:38.
Lolz123 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-30-2011 , 19:55   Re: Jailbreak VIP
Reply With Quote #2

You are not allowed to post .amxx files.
Also, attach the .sma files directly on your post.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 06-30-2011 , 22:59   Re: Jailbreak VIP
Reply With Quote #3

This plugin has less features than other VIP plugins out there, and I don't know why it's only for jailbreak, as this could apply to any mod.

Pretty useless.

Anyway,

in SaveVip(id)

Since you save their VIP as an integer, in Loadip(id), you don't have to pass a string into nvault_get, as it will automatically convert it to an integer for you.

Also, you can just set Vip[id] to the return value of nvault_get directly.

PHP Code:
public LoadVip(id)
{
    new 
authid[32]; 
    
get_user_authid(id,authid,31); 
    
    new 
vaultkey[64], vaultdata[64]; 
    
    
formatexvaultkey charsmaxvaultkey ) , "Vip-%s" authid);
    
    if ( 
nvault_getVipVault vaultkey vaultdata charsmaxvaultdata ) ) )
    {
        
Vip[id] = str_to_num(vaultdata);
    }

->

PHP Code:
public LoadVip(id)
{
    new 
authid[32]; 
    
get_user_authid(id,authid,31); 
    
    new 
vaultkey[64];
    
    
formatexvaultkey charsmaxvaultkey ) , "Vip-%s" authid);

    
Vip[id] = nvault_getVipVaultvaultkey );

__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 06-30-2011 at 23:05.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
GuTo
Senior Member
Join Date: Mar 2010
Location: Brazil - SP
Old 07-01-2011 , 00:47   Re: Jailbreak VIP
Reply With Quote #4

hum nice
__________________
GuTo is offline
Send a message via Skype™ to GuTo
mehmetali
Senior Member
Join Date: Jan 2010
Location: Turkey
Old 07-01-2011 , 06:26   Re: Jailbreak VIP
Reply With Quote #5

good job
mehmetali is offline
RuleBreaker
Senior Member
Join Date: May 2011
Old 07-01-2011 , 07:13   Re: Jailbreak VIP
Reply With Quote #6

fix vip.sma
RuleBreaker is offline
NatuNobillis
Junior Member
Join Date: Dec 2010
Old 07-06-2011 , 16:54   Re: Jailbreak VIP
Reply With Quote #7

error on compile vip.sma ):

Quote:
/home/groups/alliedmodders/forums/files/8/6/3/1/1/88326.attach(5) : fatal error 100: cannot read from file: "colorchat"
helpp plz!
NatuNobillis is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-06-2011 , 17:00   Re: Jailbreak VIP
Reply With Quote #8

Quote:
Originally Posted by NatuNobillis View Post
error on compile vip.sma ):



helpp plz!
http://forums.alliedmods.net/showthread.php?t=130511
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-03-2011 , 16:22   Re: Jailbreak VIP
Reply With Quote #9

This plugin doesn't serve real purpose, vipchat is just a rip of adminchat default amxx plugin and the other plugin is only adding some armor health flashbang at spawn (and with converted natives...).

Unapproved.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 13:09.


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