Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
Error Compiler
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Fixed issues
Author
Message
731
JBT3hNoLoGy
[Banned user]
Status: Offline
(since 01-09-2014 10:21)
Joined: 30 Jun 2014
Posts: 87
,
Topics: 41
Location:
Husi
Reputation:
-48.5
Votes
: 9
Posted: 18-07-2014, 09:07:03
| Translate post to:
... (
Click for more languages
)
M-am chinuit 15 minute la pluginu asta
Spoiler:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <fun>
#define PLUGIN "VIP JB"
#define VERSION "1.0"
#define AUTHOR "pLay4FuNxD"
#define VIP_ACCESS ADMIN_LEVEL_H
new bool: WeaponChoosed[ 33 ], bool: Hammer [ 33 ], bool: Knifevip [ 33 ], bool: Stik [33],bool: Axe [33], bool: SuperCiocan [33], bool: Knifevip2 [33]
new szGravityPlayer[ 33 ], szSpeedPlayer[ 33 ];
new const g_Tag [] = "[VIP]"
new limita[33];
enum Color{NORMAL = 1,GREEN,TEAM_COLOR,RED,BLUE,GREY}
new TeamName[][] = {"","TERRORIST","CT","SPECTATOR"}
new HammerModel [ 66 ] = "models/TechnicVIPv1.3/knife1.mdl";
new KnifevipModel [ 66 ] = "models/TechnicVIPv1.3/knife2.mdl";
new StikModel [ 66 ] = "models/TechnicVIPv1.3/knife3.mdl";
new AxeModel [ 66 ] = "models/TechnicVIPv1.3/knife4.mdl";
new SuperCiocanModel [ 66 ] = "models/TechnicVIPv1.3/knife5.mdl";
new Knifevip2Model [ 66 ] = "models/TechnicVIPv1.3/knife6.mdl";
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "PlayerSpawn", 1);
RegisterHam( Ham_Item_PreFrame, "player", "ExtraItem", true );
register_message(get_user_msgid("ScoreAttrib"),"ScoreBoard");
register_event("CurWeapon", "CurrentWeapon", "be", "1=1");
register_logevent("round_start", 2, "1=Round_Start");
register_event("ResetHUD", "resetModel", "b");
register_clcmd( "say /menu", "check_acces" );
register_clcmd( "say_team /menu", "check_acces" );
register_clcmd( "say /vm", "check_acces" );
register_clcmd( "say_team /vm", "check_acces" );
register_clcmd( "say /vipmenu", "check_acces" );
register_clcmd( "say_team /vipmenu", "check_acces" );
}
public plugin_precache ( ) {
precache_model ( HammerModel )
precache_model ( KnifevipModel )
precache_model ( StikModel )
precache_model ( AxeModel )
precache_model ( SuperCiocanModel )
precache_model ( Knifevip2Model )
return PLUGIN_CONTINUE
}
public round_start()
{
new iPlayers[32]
new iNum
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
limita[iPlayers[i]] = 0;
}
}
public PlayerSpawn( id ) {
WeaponChoosed [ id ] = false;
Hammer [ id ] = false
Knifevip [ id ] = false
Stik [ id ] = false
Axe [ id ] = false
SuperCiocan [ id ] = false
Knifevip2 [ id ] = false
szSpeedPlayer [ id ] = false
szGravityPlayer [ id ] = false
if( is_user_alive( id )) {
give_item( id, "weapon_knife" );
give_item( id, "weapon_hegrenade" );
give_item( id, "weapon_flashbang" );
give_item( id, "weapon_smokegrenade" );
set_user_health(id, 300)
}
}
public ExtraItem(id)
{
if(is_user_alive(id) && is_user_connected(id));
{
if(szGravityPlayer[id]);
{
set_user_gravity ( id, 0.5 );
}
if(szSpeedPlayer[id]);
{
set_user_maxspeed(id , get_user_maxspeed( id ) + 200.0);
}
}
}
public check_acces(id) {
if( !is_user_alive( id ) ) {
ColorChat( id, GREEN, "^4%s^1[TechnicVIPv1.3]Nu poti lua iteme din vipmenu ! esti mort idiotus!", g_Tag);
return PLUGIN_HANDLED
}
if(limita[id] == 1) {
ColorChat(id,GREEN,"^4%s^x01 Ai folosit TechnicVIPv1.3 runda asta.", g_Tag);
return 1
}
if(get_user_flags(id) & VIP_ACCESS) {
set_task(0.1, "VipMenu", id)
}
else
{
ColorChat(id, GREEN, "^4%s^x01 Trebuie sa fi membru ^4VIP pentru a utiliza ^x01VIP Weapons !", g_Tag);
}
return PLUGIN_CONTINUE
}
public VipMenu( id ) {
new VipWeaponsMenu = menu_create( "\yThN[\yVIP]\wMenu", "VipWeaponsHandler" );
menu_additem( VipWeaponsMenu, "\rAWP [1]", "1", 0 )
menu_additem( VipWeaponsMenu, "\yDeagle", "2", 0 )
menu_additem( VipWeaponsMenu, "\wScout", "3", 0 )
menu_additem( VipWeaponsMenu, "\rScut", "4", 0 )
menu_additem( VipWeaponsMenu, "\yGravity", "5", 0 )
menu_additem( VipWeaponsMenu, "\wSpeed", "6", 0 )
menu_additem( VipWeaponsMenu, "\rHP", "7", 0 )
menu_additem( VipWeaponsMenu, "\yKnife1", "8", 0 )
menu_additem( VipWeaponsMenu, "\wKnife2", "9", 0 )
menu_additem( VipWeaponsMenu, "\rKnife3", "10", 0 )
menu_additem( VipWeaponsMenu, "\yKnife4", "11", 0 )
menu_additem( VipWeaponsMenu, "\wKnife5", "12", 0 )
menu_additem( VipWeaponsMenu, "\rKnife6", "13", 0 )
menu_setprop( VipWeaponsMenu, MPROP_EXIT, MEXIT_ALL )
menu_display( id, VipWeaponsMenu, 0 )
}
public VipWeaponsHandler( id, VipWeaponsMenu, item ) {
if( item == MENU_EXIT ) {
menu_destroy( VipWeaponsMenu )
return PLUGIN_HANDLED
}
switch( item ) {
case 0:
{
strip_user_weapons(id);
give_item (id, "weapon_awp");
cs_set_user_bpammo( id, CSW_AWP, 1 );
give_item (id, "weapon_knife");
ColorChat(id, GREEN, "%s^x01 Ai primit AWP un glont !", g_Tag)
limita[id] = 1
return 1
}
case 1:
{
strip_user_weapons(id);
give_item (id, "weapon_deagle");
give_item (id, "weapon_knife");
cs_set_user_bpammo( id, CSW_DEAGLE, 5 );
ColorChat(id, GREEN, "%s^x01 Ai primit Deagle!", g_Tag)
limita[id] = 1
return 1
}
case 2:
{
strip_user_weapons(id);
give_item (id, "weapon_scout");
give_item (id, "weapon_knife");
cs_set_user_bpammo( id, CSW_SCOUT, 2 );
ColorChat(id, GREEN, "%s^x01 Ai primit Scout!", g_Tag)
limita[id] = 1
return 1
}
case 3:
{
give_item (id, "weapon_shield");
ColorChat(id, GREEN, "%s^x01 Ai primit Scut!", g_Tag)
limita[id] = 1
return 1
}
case 4:
{
szGravityPlayer[id] = true
ColorChat(id, GREEN, "%s^x01 Ai primit 600 Gravity!", g_Tag)
limita[id] = 1
return 1
}
case 5:
{
szSpeedPlayer[id] = true
ColorChat(id, GREEN, "%s^x01 Ai primit 200 Speed!", g_Tag)
limita[id] = 1
return 1
}
case 6:
{
set_user_health(id, 250)
ColorChat(id, GREEN, "%s^x01 Ai primit 200 HP!", g_Tag)
limita[id] = 1
return 1
}
case 7:
{
Hammer [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife1 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 8:
{
Knifevip2 [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife2 VIP!", g_Tag)
limita[id] = 1
return 1
}
case 9:
{
Stik [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife3 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 10:
{
Axe [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife4 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 11:
{
SuperCiocan [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife5 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 12:
{
Knifevip2 [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife6 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
}
menu_destroy( VipWeaponsMenu );
return PLUGIN_HANDLED
}
public CurrentWeapon ( id ) {
if ( Hammer [ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, HammerModel );
}
if ( Knifevip [ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, KnifevipModel );
}
if ( Stik[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, StikModel );
}
if ( Axe[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, AxeModel );
}
if ( SuperCiocan[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, SuperCiocanModel );
}
if ( Knifevip2[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, Knifevip2Model );
}
}
public resetModel(id, level, cid) {
if( get_user_flags(id) & VIP_ACCESS) {
new CsTeams:userTeam = cs_get_user_team(id)
if (userTeam == CS_TEAM_T) {
cs_set_user_model(id, "VipT")
}
else if(userTeam == CS_TEAM_CT) {
cs_set_user_model(id, "VipCT")
}
else {
cs_reset_user_model(id)
}
}
return PLUGIN_CONTINUE
}
public ScoreBoard(const MsgId, const MsgType, const MsgDest) {
static id;
id = get_msg_arg_int(1);
if(get_user_flags(id) & VIP_ACCESS)
set_msg_arg_int(2, ARG_BYTE, (1 << 2 ));
}
ColorChat(id, Color:type, const msg[], {Float,Sql,Result,_}:...);
{
new message[256];
switch(type)
{
case NORMAL:
{
message[0] = 0x01;
}
case GREEN:
{
message[0] = 0x04;
}
default:
{
message[0] = 0x03;
}
}
vformat(message[1], 251, msg, 4);
// Make sure message is not longer than 192 character. Will crash the server.
message[192] = '^0';
new team, ColorChange, index, MSG_Type;
if(id)
{
MSG_Type = MSG_ONE;
index = id;
} else {
index = FindPlayer();
MSG_Type = MSG_ALL;
}
team = get_user_team(index);
ColorChange = ColorSelection(index, MSG_Type, type);
ShowColorMessage(index, MSG_Type, message);
if(ColorChange)
{
Team_Info(index, MSG_Type, TeamName[team]);
}
}
ShowColorMessage(id, type, message[])
{
static bool:saytext_used;
static get_user_msgid_saytext;
if(!saytext_used)
{
get_user_msgid_saytext = get_user_msgid("SayText");
saytext_used = true;
}
message_begin(type, get_user_msgid_saytext, _, id);
write_byte(id)
write_string(message);
message_end();
}
Team_Info(id, type, team[])
{
static bool:teaminfo_used;
static get_user_msgid_teaminfo;
if(!teaminfo_used)
{
get_user_msgid_teaminfo = get_user_msgid("TeamInfo");
teaminfo_used = true;
}
message_begin(type, get_user_msgid_teaminfo, _, id);
write_byte(id);
write_string(team);
message_end();
return 1;
}
ColorSelection(index, type, Color:Type)
{
switch(Type)
{
case RED:
{
return Team_Info(index, type, TeamName[1]);
}
case BLUE:
{
return Team_Info(index, type, TeamName[2]);
}
case GREY:
{
return Team_Info(index, type, TeamName[0]);
}
}
return 0;
}
FindPlayer()
{
new i = -1;
while(i <= get_maxplayers());
{
if(is_user_connected(++i));
return i;
}
return -1;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{ rtf1 ansi deff0{ fonttbl{ f0 fnil Tahoma;}}n viewkind4 uc1 pard lang1049 f0 fs16 n par }
*/
m-am enervat si am inchis AMXStudioul imi da eroarea asta la compilare
Spoiler:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Modified for
https://www.freakz.ro
vipknife.sma(97) : error 036: empty statement
vipknife.sma(99) : error 036: empty statement
vipknife.sma(103) : error 036: empty statement
vipknife.sma(111) : error 004: function "ColorChat" is not implemented
vipknife.sma(115) : error 004: function "ColorChat" is not implemented
vipknife.sma(123) : error 004: function "ColorChat" is not implemented
vipknife.sma(131) : warning 217: loose indentation
vipknife.sma(139) : warning 217: loose indentation
vipknife.sma(160) : error 004: function "ColorChat" is not implemented
vipknife.sma(170) : error 004: function "ColorChat" is not implemented
vipknife.sma(180) : error 004: function "ColorChat" is not implemented
vipknife.sma(187) : error 004: function "ColorChat" is not implemented
vipknife.sma(194) : error 004: function "ColorChat" is not implemented
vipknife.sma(201) : error 004: function "ColorChat" is not implemented
vipknife.sma(208) : error 004: function "ColorChat" is not implemented
vipknife.sma(215) : error 004: function "ColorChat" is not implemented
vipknife.sma(223) : error 004: function "ColorChat" is not implemented
vipknife.sma(230) : error 004: function "ColorChat" is not implemented
vipknife.sma(238) : error 004: function "ColorChat" is not implemented
vipknife.sma(246) : error 004: function "ColorChat" is not implemented
vipknife.sma(254) : error 004: function "ColorChat" is not implemented
vipknife.sma(312) : warning 218: old style prototypes used with optional semicolumns
vipknife.sma(313) : error 055: start of function body without function header
vipknife.sma(316) : error 010: invalid function or declaration
vipknife.sma(318) : error 010: invalid function or declaration
vipknife.sma(322) : error 010: invalid function or declaration
vipknife.sma(326) : error 010: invalid function or declaration
vipknife.sma(332) : error 021: symbol already defined: "vformat"
vipknife.sma(335) : error 010: invalid function or declaration
Compilation aborted.
26 Errors.
Done.
Nimeni nu-i perfect =]]
--> PGL <---
Last edited by
JBT3hNoLoGy
on 10-08-2014, 18:19:23; edited 1 time in total
0
0
Back to top
EDUTz
[HardcoreAmxxScripter]
Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306
,
Topics: 244
Location:
Jud. Miserupia, sat Bagadanc
Reputation:
4085
Votes
: 179
Posted: 18-07-2014, 12:02:38
| Translate post to:
... (
Click for more languages
)
dupa if-uri nu se pune ;
Spoiler:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <fun>
#include <colorchat>
#define PLUGIN "VIP JB"
#define VERSION "1.0"
#define AUTHOR "T3hNoLoGy"
#define VIP_ACCESS ADMIN_LEVEL_H
new bool: WeaponChoosed[ 33 ], bool: Hammer [ 33 ], bool: Knifevip [ 33 ], bool: Stik [33],bool: Axe [33], bool: SuperCiocan [33], bool: Knifevip2 [33]
new szGravityPlayer[ 33 ], szSpeedPlayer[ 33 ];
new const g_Tag [] = "[VIP]"
new limita[33];
new HammerModel [ 66 ] = "models/TechnicVIPv1.3/knife1.mdl";
new KnifevipModel [ 66 ] = "models/TechnicVIPv1.3/knife2.mdl";
new StikModel [ 66 ] = "models/TechnicVIPv1.3/knife3.mdl";
new AxeModel [ 66 ] = "models/TechnicVIPv1.3/knife4.mdl";
new SuperCiocanModel [ 66 ] = "models/TechnicVIPv1.3/knife5.mdl";
new Knifevip2Model [ 66 ] = "models/TechnicVIPv1.3/knife6.mdl";
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "PlayerSpawn", 1);
RegisterHam( Ham_Item_PreFrame, "player", "ExtraItem", true );
register_message(get_user_msgid("ScoreAttrib"),"ScoreBoard");
register_event("CurWeapon", "CurrentWeapon", "be", "1=1");
register_logevent("round_start", 2, "1=Round_Start");
register_event("ResetHUD", "resetModel", "b");
register_clcmd( "say /menu", "check_acces" );
register_clcmd( "say_team /menu", "check_acces" );
register_clcmd( "say /vm", "check_acces" );
register_clcmd( "say_team /vm", "check_acces" );
register_clcmd( "say /vipmenu", "check_acces" );
register_clcmd( "say_team /vipmenu", "check_acces" );
}
public plugin_precache ( ) {
precache_model ( HammerModel )
precache_model ( KnifevipModel )
precache_model ( StikModel )
precache_model ( AxeModel )
precache_model ( SuperCiocanModel )
precache_model ( Knifevip2Model )
return PLUGIN_CONTINUE
}
public round_start()
{
new iPlayers[32]
new iNum
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
limita[iPlayers[i]] = 0;
}
}
public PlayerSpawn( id ) {
WeaponChoosed [ id ] = false;
Hammer [ id ] = false
Knifevip [ id ] = false
Stik [ id ] = false
Axe [ id ] = false
SuperCiocan [ id ] = false
Knifevip2 [ id ] = false
szSpeedPlayer [ id ] = false
szGravityPlayer [ id ] = false
if( is_user_alive( id )) {
give_item( id, "weapon_knife" );
give_item( id, "weapon_hegrenade" );
give_item( id, "weapon_flashbang" );
give_item( id, "weapon_smokegrenade" );
set_user_health(id, 300)
}
}
public ExtraItem(id)
{
if(is_user_alive(id) && is_user_connected(id))
{
if(szGravityPlayer[id])
{
set_user_gravity ( id, 0.5 );
}
if(szSpeedPlayer[id])
{
set_user_maxspeed(id , get_user_maxspeed( id ) + 200.0);
}
}
}
public check_acces(id) {
if( !is_user_alive( id ) ) {
ColorChat( id, GREEN, "^4%s^1[TechnicVIPv1.3]Nu poti lua iteme din vipmenu ! esti mort idiotus!", g_Tag);
return PLUGIN_HANDLED
}
if(limita[id] == 1) {
ColorChat(id,GREEN,"^4%s^x01 Ai folosit TechnicVIPv1.3 runda asta.", g_Tag);
return 1
}
if(get_user_flags(id) & VIP_ACCESS) {
set_task(0.1, "VipMenu", id)
}
else
{
ColorChat(id, GREEN, "^4%s^x01 Trebuie sa fi membru ^4VIP pentru a utiliza ^x01VIP Weapons !", g_Tag);
}
return PLUGIN_CONTINUE
}
public VipMenu( id ) {
new VipWeaponsMenu = menu_create( "\yThN[\yVIP]\wMenu", "VipWeaponsHandler" );
menu_additem( VipWeaponsMenu, "\rAWP [1]", "1", 0 )
menu_additem( VipWeaponsMenu, "\yDeagle", "2", 0 )
menu_additem( VipWeaponsMenu, "\wScout", "3", 0 )
menu_additem( VipWeaponsMenu, "\rScut", "4", 0 )
menu_additem( VipWeaponsMenu, "\yGravity", "5", 0 )
menu_additem( VipWeaponsMenu, "\wSpeed", "6", 0 )
menu_additem( VipWeaponsMenu, "\rHP", "7", 0 )
menu_additem( VipWeaponsMenu, "\yKnife1", "8", 0 )
menu_additem( VipWeaponsMenu, "\wKnife2", "9", 0 )
menu_additem( VipWeaponsMenu, "\rKnife3", "10", 0 )
menu_additem( VipWeaponsMenu, "\yKnife4", "11", 0 )
menu_additem( VipWeaponsMenu, "\wKnife5", "12", 0 )
menu_additem( VipWeaponsMenu, "\rKnife6", "13", 0 )
menu_setprop( VipWeaponsMenu, MPROP_EXIT, MEXIT_ALL )
menu_display( id, VipWeaponsMenu, 0 )
}
public VipWeaponsHandler( id, VipWeaponsMenu, item ) {
if( item == MENU_EXIT ) {
menu_destroy( VipWeaponsMenu )
return PLUGIN_HANDLED
}
switch( item ) {
case 0:
{
strip_user_weapons(id);
give_item (id, "weapon_awp");
cs_set_user_bpammo( id, CSW_AWP, 1 );
give_item (id, "weapon_knife");
ColorChat(id, GREEN, "%s^x01 Ai primit AWP un glont !", g_Tag)
limita[id] = 1
return 1
}
case 1:
{
strip_user_weapons(id);
give_item (id, "weapon_deagle");
give_item (id, "weapon_knife");
cs_set_user_bpammo( id, CSW_DEAGLE, 5 );
ColorChat(id, GREEN, "%s^x01 Ai primit Deagle!", g_Tag)
limita[id] = 1
return 1
}
case 2:
{
strip_user_weapons(id);
give_item (id, "weapon_scout");
give_item (id, "weapon_knife");
cs_set_user_bpammo( id, CSW_SCOUT, 2 );
ColorChat(id, GREEN, "%s^x01 Ai primit Scout!", g_Tag)
limita[id] = 1
return 1
}
case 3:
{
give_item (id, "weapon_shield");
ColorChat(id, GREEN, "%s^x01 Ai primit Scut!", g_Tag)
limita[id] = 1
return 1
}
case 4:
{
szGravityPlayer[id] = true
ColorChat(id, GREEN, "%s^x01 Ai primit 600 Gravity!", g_Tag)
limita[id] = 1
return 1
}
case 5:
{
szSpeedPlayer[id] = true
ColorChat(id, GREEN, "%s^x01 Ai primit 200 Speed!", g_Tag)
limita[id] = 1
return 1
}
case 6:
{
set_user_health(id, 250)
ColorChat(id, GREEN, "%s^x01 Ai primit 200 HP!", g_Tag)
limita[id] = 1
return 1
}
case 7:
{
Hammer [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife1 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 8:
{
Knifevip2 [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife2 VIP!", g_Tag)
limita[id] = 1
return 1
}
case 9:
{
Stik [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife3 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 10:
{
Axe [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife4 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 11:
{
SuperCiocan [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife5 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
case 12:
{
Knifevip2 [ id ] = true
ColorChat(id, GREEN, "%s^x01 Ai primit Knife6 VIP!", g_Tag)
CurrentWeapon ( id );
limita[id] = 1
return 1
}
}
menu_destroy( VipWeaponsMenu );
return PLUGIN_HANDLED
}
public CurrentWeapon ( id ) {
if ( Hammer [ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, HammerModel );
}
if ( Knifevip [ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, KnifevipModel );
}
if ( Stik[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, StikModel );
}
if ( Axe[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, AxeModel );
}
if ( SuperCiocan[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, SuperCiocanModel );
}
if ( Knifevip2[ id ] && get_user_weapon ( id ) == CSW_KNIFE ) {
set_pev ( id, pev_viewmodel2, Knifevip2Model );
}
}
public resetModel(id, level, cid) {
if( get_user_flags(id) & VIP_ACCESS) {
new CsTeams:userTeam = cs_get_user_team(id)
if (userTeam == CS_TEAM_T) {
cs_set_user_model(id, "VipT")
}
else if(userTeam == CS_TEAM_CT) {
cs_set_user_model(id, "VipCT")
}
else {
cs_reset_user_model(id)
}
}
return PLUGIN_CONTINUE
}
public ScoreBoard(const MsgId, const MsgType, const MsgDest) {
static id;
id = get_msg_arg_int(1);
if(get_user_flags(id) & VIP_ACCESS)
set_msg_arg_int(2, ARG_BYTE, (1 << 2 ));
}
Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM
0
0
Back to top
JBT3hNoLoGy
[Banned user]
Status: Offline
(since 01-09-2014 10:21)
Joined: 30 Jun 2014
Posts: 87
,
Topics: 41
Location:
Husi
Reputation:
-48.5
Votes
: 9
Posted: 18-07-2014, 17:39:35
| Translate post to:
... (
Click for more languages
)
edutzu te rog poti face sa pui sounduri sau sa vada toti knifeurile ?pls
 
Staff message
(
Alexandru P
):
+ 2 warns. Data viitoare dupa ce imi citesti pm-ul, poate te deranjezi sa imi raspunzi, daca tot vezi ca vreau sa rezolvam problema pe cale amiabila. Daca iti faci alt cont, iei ban pe ip.
Nimeni nu-i perfect =]]
--> PGL <---
0
0
Back to top
Fantasy ;x
[Banned user]
Status: Offline
(since 18-08-2014 18:42)
Joined: 10 Aug 2014
Posts: 121
,
Topics: 14
Location:
Romania
Reputation:
-18.5
Votes
: 12
Posted: 10-08-2014, 16:17:55
| Translate post to:
... (
Click for more languages
)
Cum poti sa pui autor T3hNoLoGy ? eu sunt autorul , cer banarea lui , el ia pluginurile de pe net si pune la autor T3hNoLoGy.
[img]http://postimg.org/image/dps7kl7qj/[/img]
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Locked by
EDUTz
, 05 December 2014 11:39
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Fixed issues
The time now is 15-12-2024, 09:21:56
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details