Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
extragere pluginuri
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Plugins - Help / Support
Author
Message
519
dannyd08
[Mentally Stable]
Status: Offline
(since 04-03-2016 14:01)
Joined: 21 Nov 2015
Posts: 22
,
Topics: 10
Location:
Romania
Reputation:
4.7
Posted: 04-12-2015, 09:14:13
| Translate post to:
... (
Click for more languages
)
Imi poate extrage cineva din addonsu asta furien v4.0 :
http://www.girlshare.ro/34736220.2
pluginul wallhang pe care il are pt mers pe pereti invizibil ca pe net nu am gasit unul bun si daca puteti si sistemul power pe xp cel cu banishlevel...
Aveti un mare MULTUMESC daca ma ajutati
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: 04-12-2015, 11:05:22
| Translate post to:
... (
Click for more languages
)
Incearca-l pe asta:
Quote:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <hamsandwich>
#include "furien.inc"
#include "furien_shop.inc"
#define PLUGIN "WallHanG"
#define VERSION "1.1"
#define AUTHOR "cRi"
#define XTRA_OFS_PLAYER 5
#define m_Activity 73
#define m_IdealActivity 74
#define m_flNextAttack 83
#define m_afButtonPressed 246
#define FIRST_PLAYER_ID 1
#define MAX_PLAYERS 32
#define PLAYER_JUMP 6
#define ACT_HOP 7
//#define FBitSet(%1,%2) (%1 & %2)
new g_iMaxPlayers
#define IsPlayer(%1) ( FIRST_PLAYER_ID <= %1 <= g_iMaxPlayers )
#define IsHidden(%1) IsPlayer(%1)
#define KNIFE_DRAW 3
new g_bHasWallHang
#define SetUserWallHang(%1) g_bHasWallHang |= 1<<(%1&31)
#define RemoveUserWallHang(%1) g_bHasWallHang &= ~(1<<(%1&31))
#define HasUserWallHang(%1) g_bHasWallHang & 1<<(%1&31)
new g_bHanged
#define SetUserHanged(%1) g_bHanged |= 1<<(%1&31)
#define RemoveUserHanged(%1) g_bHanged &= ~(1<<(%1&31))
#define IsUserHanged(%1) g_bHanged & 1<<(%1&31)
new Float:g_fVecMins[MAX_PLAYERS+1][3]
new Float:g_fVecMaxs[MAX_PLAYERS+1][3]
new Float:g_fVecOrigin[MAX_PLAYERS+1][3]
new bool:g_bRoundEnd
public plugin_init()
{
register_plugin("PLUGIN", VERSION, "AUTHOR")
RegisterHam(Ham_Player_Jump, "player", "Player_Jump")
RegisterHam(Ham_Touch, "func_wall", "World_Touch")
RegisterHam(Ham_Touch, "func_breakable", "World_Touch")
RegisterHam(Ham_Touch, "worldspawn", "World_Touch")
g_iMaxPlayers = get_maxplayers()
register_event("HLTV", "Event_HLTV_New_Round", "a", "1=0", "2=0")
}
public Event_HLTV_New_Round()
{
g_bRoundEnd = false
}
public Logevent_Round_End()
{
g_bRoundEnd = true
g_bHanged = 0
}
public client_putinserver( id )
{
SetUserWallHang( id )
}
public furien_round_restart()
{
g_bHanged = 0
}
public Player_Jump(id)
{
if( g_bRoundEnd
|| ~HasUserWallHang(id)
|| ~IsUserHanged(id)
|| !is_user_alive(id) )
{
return HAM_IGNORED
}
if( (pev(id, pev_flags) & FL_WATERJUMP) || pev(id, pev_waterlevel) >= 2 )
{
return HAM_IGNORED
}
static afButtonPressed ; afButtonPressed = get_pdata_int(id, m_afButtonPressed)
if( ~afButtonPressed & IN_JUMP )
{
return HAM_IGNORED
}
RemoveUserHanged(id)
new Float:fVecVelocity[3]
velocity_by_aim(id, 600, fVecVelocity)
set_pev(id, pev_velocity, fVecVelocity)
set_pdata_int(id, m_Activity, ACT_HOP)
set_pdata_int(id, m_IdealActivity, ACT_HOP)
set_pev(id, pev_gaitsequence, PLAYER_JUMP)
set_pev(id, pev_frame, 0.0)
set_pdata_int(id, m_afButtonPressed, afButtonPressed & ~IN_JUMP)
return HAM_SUPERCEDE
}
public client_PostThink(id)
{
if( HasUserWallHang(id) && IsUserHanged(id) )
{
engfunc(EngFunc_SetSize, id, g_fVecMins[ id ], g_fVecMaxs[ id ])
engfunc(EngFunc_SetOrigin, id, g_fVecOrigin[ id ])
set_pev(id, pev_velocity, 0)
set_pdata_float(id, m_flNextAttack, 1.0, XTRA_OFS_PLAYER)
}
}
public World_Touch(iEnt, id)
{
if( !g_bRoundEnd
&& IsPlayer(id)
&& HasUserWallHang(id)
&& ~IsUserHanged(id)
&& is_user_alive(id)
&& pev(id, pev_button) & IN_USE
&& ~pev(id, pev_flags) & FL_ONGROUND )
{
SetUserHanged(id)
pev(id, pev_mins, g_fVecMins[id])
pev(id, pev_maxs, g_fVecMaxs[id])
pev(id, pev_origin, g_fVecOrigin[id])
}
}
Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM
0
0
Back to top
dannyd08
[Mentally Stable]
Status: Offline
(since 04-03-2016 14:01)
Joined: 21 Nov 2015
Posts: 22
,
Topics: 10
Location:
Romania
Reputation:
4.7
Posted: 04-12-2015, 15:59:39
| Translate post to:
... (
Click for more languages
)
scz edutz dar nu este ce vreau eu zic de cel care tii e si stai pe perete si daca mai apesi si w,a,s,d te misti pe perete nu dand space...
uite pe asta il am eu doar ca atunci cand te mergi pe perete esti vizibil si normal ar trebui sa nu fii :
Spoiler:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
new const PLUGIN[] = "Furien WallHang";
new const VERSION[] = "1.0";
#pragma semicolon 1
// Float
new Float: Wallorigin[33][3];
public plugin_init()
{
register_plugin(PLUGIN, VERSION, "Aragon*");
// Ham Forwrads
RegisterHam(Ham_Touch, "player", "fw_PlayerTouch", 1);
// FM Forwards
register_forward(FM_PlayerPostThink, "fw_PlayerPostThink");
// CVARs
register_cvar("furien_wallahng", VERSION, FCVAR_SERVER | FCVAR_SPONLY);
}
public fw_PlayerTouch(id, world)
{
if(is_user_alive(id) && get_user_team(id) == 1)
{
new ClassName[32];
pev(world, pev_classname, ClassName,(32-1));
if(equal(ClassName, "worldspawn") || equal(ClassName, "func_wall") || equal(ClassName, "func_breakable"))
pev(id, pev_origin, Wallorigin[id]);
}
return HAM_SUPERCEDE;
}
public fw_PlayerPostThink(id)
{
if(is_user_alive(id) && get_user_team(id) == 1)
{
static Float:Origin[3];
pev(id, pev_origin, Origin);
static Button;
Button = pev(id, pev_button);
if(Button & IN_USE && get_distance_f(Origin, Wallorigin[id]) <= 5.0 && !(pev(id, pev_flags) & FL_ONGROUND))
{
new Float:Velocity[3];
new ClimbSpeed = floatround(pev(id, pev_maxspeed) / 2.0);
if(Button & IN_FORWARD)
{
velocity_by_aim(id, ClimbSpeed, Velocity);
fm_set_user_velocity(id, Velocity);
}
else if(Button & IN_BACK)
{
velocity_by_aim(id, - ClimbSpeed, Velocity);
fm_set_user_velocity(id, Velocity);
}
else
{
set_pev(id, pev_origin, Wallorigin[id]);
velocity_by_aim(id, 0, Velocity);
fm_set_user_velocity(id, Velocity);
}
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
0
0
Back to top
Topic locked
Topic is closed, you cannot post any messages in it anymore
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Plugins - Help / Support
The time now is 11-01-2025, 10:57:50
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