Raised This Month: $ Target: $400
 0% 

Change to fakemeta


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-13-2009 , 04:50   Change to fakemeta
Reply With Quote #1

Hi, i have this commands here on Cstrike & XS... but i need they on fakemeta. can anyone translate this?

i have this codes here :

PHP Code:
    if (get_option(OPTION_ENABLE_INFINITE_SMOKES) && weapon == CSW_SMOKEGRENADE)
    {
        
cs_set_user_bpammo(idCSW_SMOKEGRENADE1000)
    } 
PHP Code:
public client_disconnect(id)
{
    
cl_is_bot[id] = false
    
    mode
[id][GRENADE_EXPLOSIVE] = NADE_NORMAL
    mode
[id][GRENADE_FLASHBANG] = NADE_NORMAL
    mode
[id][GRENADE_SMOKEGREN] = NADE_NORMAL
    
    team
[id] = CS_TEAM_UNASSIGNED

PHP Code:
    if (!is_user_connected(pev(ent,pev_owner)) || is_user_connecting(pev(ent,pev_owner)) || team[pev(ent,pev_owner)] == CS_TEAM_UNASSIGNED
PHP Code:
            case CS_TEAM_Tshow_ring(origin,get_option_float(OPTION_PROXIMITY_RADIUS) * 1.5 5525500
PHP Code:
                    velocity xs_vec_len(v
PHP Code:
    switch (cs_get_user_team(id))
    {
        case 
CS_TEAM_T,CS_TEAM_CTteam[id] = cs_get_user_team(id)
        default: return 
FMRES_IGNORED
    

PHP Code:
    if (cs_get_user_shield(id)) 
PHP Code:
                xs_vec_copy(originpoint
PHP Code:
                    xs_vec_mul_scalar(normalget_option_float(OPTION_TRIP_FLY_SPEED), temp
PHP Code:
                    xs_vec_mul_scalar(normalget_option_float(OPTION_TRIP_DETECT_DISTANCE), temp)
                    
xs_vec_add(temporiginend
PHP Code:
                        xs_vec_mul_scalar(normal,400.0,temp)
                        
xs_vec_add(temp,origin,fakeend
PHP Code:
            xs_vec_copy(end,fakeend
PHP Code:
return (xs_vec_equal(velocityFloat:{0.00.00.0}) ? true false
So this all are the errors when i disable xs & cstrike includes. maybe any of this can i use in fakemeta too. idk, i need just this commands in fakemeta hope anyone can helpme
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-13-2009 , 05:10   Re: Change to fakemeta
Reply With Quote #2

For bpammo:
PHP Code:
#define OFFSET_SMOKE_AMMO            389
set_pdata_intidOFFSET_SMOKE_AMMOamount ); 
And for xs, why do you want to remove it?
__________________

anakin_cstrike is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-13-2009 , 05:26   Re: Change to fakemeta
Reply With Quote #3

Quote:
Originally Posted by anakin_cstrike View Post
For bpammo:
PHP Code:
#define OFFSET_SMOKE_AMMO            389
set_pdata_intidOFFSET_SMOKE_AMMOamount ); 
And for xs, why do you want to remove it?
TY

i have already :

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich> 
hase a see on my code here:

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <engine>
#include <csx>
#include <xs>
#include <cstrike>
#include <fun>

http://forums.alliedmods.net/showpos...59&postcount=3

i dont wanna to use many incs :-(
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-13-2009 , 05:30   Re: Change to fakemeta
Reply With Quote #4

PHP Code:
#define OFFSET_TEAM 114
enum
{
CS_TEAM_UNASSIGNED 0,
CS_TEAM_T 1,
CS_TEAM_CT 2,
CS_TEAM_SPECTATOR 3
}
 
#define fm_get_user_team(%1) get_pdata_int(%1, OFFSET_TEAM) 
I dunno about shield detection, search for a plugin that detects shields and does not use cstrike include :}

EDIT: you can remove csx, engine, cstrike and fun with some effort on turning them into fakemeta and/or ham way
__________________

Last edited by Hunter-Digital; 03-13-2009 at 05:33.
Hunter-Digital is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-13-2009 , 06:26   Re: Change to fakemeta
Reply With Quote #5

Quote:
i dont wanna to use many incs :-(

Quote:
#include <engine>
#include <cstrike>
#include <fun>
o.O
__________________

anakin_cstrike is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 03-13-2009 , 06:53   Re: Change to fakemeta
Reply With Quote #6

You should really never run fakemeta_util, fakemeta and engine all together. There is almost ALWAYS another way to do something.

Running those three includes together can cause huge troubles.
BOYSplayCS is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-13-2009 , 06:58   Re: Change to fakemeta
Reply With Quote #7

Quote:
Originally Posted by BOYSplayCS View Post
You should really never run fakemeta_util, fakemeta and engine all together. There is almost ALWAYS another way to do something.

Running those three includes together can cause huge troubles.
im now using :

  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <fakemeta>
  4. #include <fakemeta_util>
  5. #include <hamsandwich>
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 03-13-2009 , 06:58   Re: Change to fakemeta
Reply With Quote #8

That's good then, you took out the engine include.
BOYSplayCS is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-13-2009 , 07:01   Re: Change to fakemeta
Reply With Quote #9

Quote:
Originally Posted by BOYSplayCS View Post
That's good then, you took out the engine include.
yeah but i cant use ma old commands :-D ( see ma first post here :-( )
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 03-13-2009 , 07:03   Re: Change to fakemeta
Reply With Quote #10

I know there's a way to to get the team with ham.
BOYSplayCS 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 09:03.


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