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

FURIEN.c.la Version Courante v0.4.4 (24juin2010)


Post New Thread Reply   
 
Thread Tools Display Modes
DeagleAc3
Zero Posts
Join Date: Jan 2011
Old 08-20-2011 , 18:05   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #341

How do you make it so that only T's are furiens but the teams switch?
DeagleAc3 is offline
leonard19941
Veteran Member
Join Date: Jun 2011
Old 09-06-2011 , 09:53   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #342

Help me, please.
leonard19941 is offline
Stereo
Veteran Member
Join Date: Dec 2010
Old 09-08-2011 , 17:43   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #343

[en]
Thanks you Connor for the mod but sometimes, when I kill Furien/Antifurien only give me 300$ or less.

Can you help me?

[fr]
Merci vous Connor pour le mod, mais parfois, quand je tue Furien / Antifurien ne me donne 300$ ou moins.

Pouvez-vous m'aider?

Votre code:

PHP Code:
public Event_DeathMsg()
{
    new 
iKiller read_data(1)
    if( 
IsPlayer(iKiller) && is_user_connected(iKiller) )
    {
        new 
iVictim read_data(2)
        if( 
iVictim != iKiller )
        {
            new 
iVicTimTeam __get_user_team(iVictim)
            if( 
__get_user_team(iKiller) == iVicTimTeam )
            {
                return
            }
            
g_iNewMoney clamp
                        

                            
cs_get_user_money/*i add unlimitedmoney here*/(iKiller) + (iVicTimTeam == Furien g_iFurienReward g_iAntiReward), 
                            
0
                            
16000
                        
)
            
g_iMsgHookMoney register_message(g_iMoney"Message_Money")
        }
    }
}

public 
Message_Money(iMsgIdiMsgDestid)
{
    
unregister_message(g_iMoneyg_iMsgHookMoney)
    
cs_set_money_value(idg_iNewMoney)
    
set_msg_arg_int(1ARG_LONGg_iNewMoney)

PD: I use unlimited money :$
PD2: Sorry for mi english/french i use traductor google xd


Thanks

Last edited by Stereo; 09-08-2011 at 17:46.
Stereo is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-08-2011 , 17:47   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #344

I suggest you to install this plugin :
http://forums.alliedmods.net/showthread.php?t=120866

Then money will be unlocked and you don't need any edition in other plugins to make them work fine.






Else, you can try this :

PHP Code:
public Event_DeathMsg()
{
    new 
iKiller read_data(1)
    if( 
IsPlayer(iKiller) && is_user_connected(iKiller) )
    {
        new 
iVictim read_data(2)
        if( 
iVictim != iKiller )
        {
            new 
iVicTimTeam __get_user_team(iVictim)
            if( 
__get_user_team(iKiller) == iVicTimTeam )
            {
                return
            }
            
g_iNewMoney clamp
                        

                            
cs_get_user_money_ul(iKiller) + (iVicTimTeam == Furien g_iFurienReward g_iAntiReward), 
                            
0
                        
)
            
cs_set_user_money_ul(iKillerg_iNewMoney)
            
g_iMsgHookMoney register_message(g_iMoney"Message_Money")
        }
    }
}

public 
Message_Money(iMsgIdiMsgDestid)
{
    
unregister_message(g_iMoneyg_iMsgHookMoney)
    
cs_set_money_value(idg_iNewMoney)
    return 
PLUGIN_HANDLED

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-08-2011 at 17:52.
ConnorMcLeod is offline
Stereo
Veteran Member
Join Date: Dec 2010
Old 09-08-2011 , 18:22   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #345

It works sometimes :S

but you can remove the money by killed? and next i add cs_set_user_m...?



Thanks anyway man

EDIT: Sorry i dont read the first, i will try it

Last edited by Stereo; 09-08-2011 at 18:27.
Stereo is offline
MC.TSHIRT
Senior Member
Join Date: Dec 2010
Old 09-11-2011 , 22:24   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #346

dont work

i use money all in one 3_3 for set the max money to 200.000$
but i cant over 10.000 money so i cant buy Superknife


740 -- 744 : error 029 nivalid expression, assumed zero

745 : warning 217 : loose identation

753 error 017 : undefined symbol "unregister_message"

755 warning 217 : loose indentation

796 warning 204 : symbol assigned a value that is never used : "g_iMsgHookMoney"
__________________

Last edited by MC.TSHIRT; 09-11-2011 at 22:44. Reason: error
MC.TSHIRT is offline
Zkespinto
Junior Member
Join Date: Jul 2011
Old 09-25-2011 , 12:28   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #347

Hi. I've tried but i have no idea how to change this few things.

1- I tried make furiens with maxspeed of 2500 but i can't go faster than 2000.

2- And i also would like to know how to make the shop menu appears only with those players how got ADMIN_LEVEL_H.

3- When someone dies they have respaw like DM, how to i change it? i would like them to stay dead and wait for a new round.


Thank you
Zkespinto is offline
upsasuke1
Junior Member
Join Date: Oct 2011
Old 10-30-2011 , 20:08   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #348

I need a plugin that not to change team
To Furien Mod

sorry my bad english.
upsasuke1 is offline
guven5
Senior Member
Join Date: Jul 2010
Location: counter strike 1.6 downl
Old 11-16-2011 , 22:48   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #349

FR: différentes équipes de terreur seul modèle ?

EN: different model only for terror team ?
__________________
guven5 is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 11-17-2011 , 07:06   Re: FURIEN.c.la Version Courante v0.4.4 (24juin2010)
Reply With Quote #350

use ConnorMcLeod Players Models.
Fr33m@n 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 01:42.


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