Raised This Month: $ Target: $400
 0% 

VIP Plugin 3.0 UPDATED


Post New Thread Reply   
 
Thread Tools Display Modes
alecsoviki
Junior Member
Join Date: May 2012
Location: Germany
Old 11-20-2013 , 13:44   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #401

Can I make to give grenade only at every 10 or 30 seconds? Because my admins make abuse with flashbang and he grenade..
alecsoviki is offline
Old 11-22-2013, 19:50
konfigos2
This message has been deleted by ConnorMcLeod.
alecsoviki
Junior Member
Join Date: May 2012
Location: Germany
Old 11-29-2013 , 11:15   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #402

Quote:
Originally Posted by alecsoviki View Post
Can I make to give grenade only at every 10 or 30 seconds? Because my admins make abuse with flashbang and he grenade..


Somebody ?
alecsoviki is offline
Marks1991
Junior Member
Join Date: Sep 2013
Old 02-26-2014 , 00:38   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #403

hi, Im usin this plugin on my server Classic Pub, bet players who uses old style menu can buy awps without ADMIN_LEVEL_H.

Can some of you give code for checking if player is VIP user, then he can hold awp, if not, player automaticaly drops awp?

EDIT:
thanx, no need help anymore, problem solved

Last edited by Marks1991; 02-27-2014 at 00:24.
Marks1991 is offline
mukhtar.hussain761
New Member
Join Date: Dec 2013
Old 03-06-2014 , 10:00   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #404

nice ty
mukhtar.hussain761 is offline
L00p3r
New Member
Join Date: May 2014
Location: Romania
Old 05-10-2014 , 05:28   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #405

How can i change the Flag`s ??? please tell me
L00p3r is offline
Send a message via Yahoo to L00p3r Send a message via Skype™ to L00p3r
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 05-10-2014 , 08:46   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #406

edit .sma or cmdaccess.ini file.
__________________
ANTICHRISTUS is offline
L00p3r
New Member
Join Date: May 2014
Location: Romania
Old 05-12-2014 , 09:35   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #407

Huge problem whit this plugin , when i put this plugin on server all the players ghet the benefits whit moneys $ vip and players ghet the same value of $ why ???
L00p3r is offline
Send a message via Yahoo to L00p3r Send a message via Skype™ to L00p3r
SwaGer Boy
New Member
Join Date: Jun 2014
Old 06-24-2014 , 08:47   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #408

This Jailbreak VIP 3.0



#pragma semicolon 1
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fun>
#include <hamsandwich>

// Define the Plugin Version
new const VERSION[] = { "3.0" };

// PREFIX
new const PREFIX[] = { "!g[ VIP ]!n" };

new VipUsed[33];
new HasSpeed;

new Float:fast_speed = 300.0;
new Float:normal_speed = 250.0;

public plugin_init()
{
register_plugin("JailBreak: VIP Menu",VERSION,"SwaG");

RegisterHam(Ham_Spawn,"player","FwdHamSpawn_P ost",1);
RegisterHam( Ham_Item_PreFrame,"player","FwdPreFrame_Post" ,1);

register_clcmd("say vmenu","cmdVmenu",ADMIN_LEVEL_B);
register_clcmd("say /vmenu","cmdVmenu",ADMIN_LEVEL_B);
register_clcmd("say_team vmenu","cmdVmenu",ADMIN_LEVEL_B);
register_clcmd("say_team /vmenu","cmdVmenu",ADMIN_LEVEL_B);
}

public FwdPreFrame_Post(id)
{
if(!is_user_alive(id))
{
return PLUGIN_HANDLED;
}

if(!HasSpeed)
{
return PLUGIN_HANDLED;
}

else if(HasSpeed)
{
set_user_maxspeed(id,fast_speed);
}

return PLUGIN_HANDLED;
}

public FwdHamSpawn_Post(id)
{
HasSpeed = false;
VipUsed[id] = false;
set_user_maxspeed(id,normal_speed);
set_user_rendering( id,_,0,0,0,_,0 );
}

public cmdVmenu(id)
{
if(cs_get_user_team(id) == CS_TEAM_CT && get_user_flags(id) && ADMIN_LEVEL_A && !VipUsed[id])
{
VipCTMenu(id);
}

else if(cs_get_user_team(id) == CS_TEAM_T && get_user_flags(id) && ADMIN_LEVEL_A && !VipUsed[id])
{
VipTMenu(id);
}

else if(VipUsed[id])
{
client_printc(id,"%s You use one time this VIP Menu in this round",PREFIX);
}

else
{
client_printc(id,"%s Only Admin in Prisioner or Guard can use this menu VIP.",PREFIX);
return PLUGIN_HANDLED;
}

return PLUGIN_HANDLED;
}

public VipCTMenu(id)
{
new menu = menu_create("\yVIP Guard:^n\rBy SwaG","VipCTMenu_handler");

menu_additem(menu,"\w+50hp and +100 Armor","1",0);
menu_additem(menu,"\wM4A1 and AK47","2",0);
menu_additem(menu,"\wSpeed + Flash Green","3",0);

menu_setprop(menu,MPROP_EXIT,MEXIT_ALL);
menu_display(id,menu,0);
}

public VipCTMenu_handler(id,menu,item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}

new data[6],iName[64];
new access,callback;
menu_item_getinfo(menu,item,access,data,5,iNa me,63,callback);

new key = str_to_num(data);

switch(key)
{
case 1:
{
set_user_health(id,get_user_health(id) + 50);
set_user_armor(id,get_user_armor(id) + 100);
VipUsed[id] = true;

client_printc(id,"%s You choose !g50HP!n and !g100 Armor!n",PREFIX);
}
case 2:
{
give_item(id,"weapon_m4a1");
give_item(id,"weapon_ak47");
cs_set_user_bpammo(id,CSW_M4A1,90);
cs_set_user_bpammo(id,CSW_AK47,200);

VipUsed[id] = true;

client_printc(id,"%s You Choose !gM4A1!n and !gAK47!n",PREFIX);
}
case 3:
{
VipUsed[id] = true;
HasSpeed = true;

set_user_maxspeed(id,fast_speed);
set_user_rendering(id,kRenderFxGlowShell,0,0, 255,kRenderTransAlpha,50);

client_printc(id,"%s You Choose !gSpeed!n and !gFlash Light!n",PREFIX);
}
}

menu_destroy(menu);
return PLUGIN_HANDLED;
}

public VipTMenu(id)
{
new menu = menu_create("\yVIP Prisioner:^n\rby SwaG","VipTMenu_handler");

menu_additem(menu,"\wGlock 2 balls","1",0);
menu_additem(menu,"\wSpeed and Flash Green","2",0);
menu_additem(menu,"\w+50HP and +100 Armor","3",0);

menu_setprop(menu,MPROP_EXIT,MEXIT_ALL);
menu_display(id,menu,0);
}

public VipTMenu_handler(id,menu,item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}

new data[6],iName[64];
new access,callback;
menu_item_getinfo(menu,item,access,data,5,iNa me,63,callback);

new key = str_to_num(data);

switch(key)
{
case 1:
{
give_item(id,"weapon_glock18");
cs_set_weapon_ammo(find_ent_by_owner(1,"weapo n_glock18",id),2);

client_printc(id,"%s You Choose !gGlock with 2 balls!n",PREFIX);

VipUsed[id] = true;
}
case 2:
{
VipUsed[id] = true;
HasSpeed = true;

set_user_maxspeed(id,fast_speed);
set_user_rendering(id,kRenderFxGlowShell,255, 0,0,kRenderTransAlpha,50);

client_printc(id,"%s You Choose !gSpeed!n and !gFlash Green!n",PREFIX);
}

case 3:
{
set_user_health(id,get_user_health(id) + 50);
set_user_armor(id,get_user_armor(id) + 100);
VipUsed[id] = true;

client_printc(id,"%s You choose !g50HP!n and !g100 Armor!n",PREFIX);
}
}

menu_destroy(menu);
return PLUGIN_HANDLED;
}

// Colour Chat
stock client_printc(const id,const input[],any:...)
{
new count = 1,players[32];
static msg[191];
vformat(msg,190,input,3);

replace_all(msg,190,"!g","^x04"); // Green Color
replace_all(msg,190,"!n","^x01"); // Default Color
replace_all(msg,190,"!t","^x03"); // Team Color

if (id) players[0] = id; else get_players(players,count,"ch");
{
for (new i = 0; i < count; i++)
{
if (is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE,get_user_msg id("SayText"),_,players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}
SwaGer Boy is offline
matriii
Junior Member
Join Date: Jun 2014
Location: Singapore
Old 06-26-2014 , 01:20   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #409

How to do i add the text to vip.txt when i type /wantvip
matriii is offline
Syturio
BANNED
Join Date: Jul 2014
Location: Under your bed.
Old 07-20-2014 , 02:00   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #410

is it possible to add color to the menus please?
Syturio 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 00:29.


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