Raised This Month: $51 Target: $400
 12% 

No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'


Post New Thread Reply   
 
Thread Tools Display Modes
Bos93
Veteran Member
Join Date: Jul 2010
Old 10-13-2012 , 09:41   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #11

PHP Code:
#include < amxmodx > 
#include < hamsandwich > 

new Trie:g_tSteamId

public 
plugin_init( ) 

        
RegisterHamHam_Spawn"player""CBasePlayer__Spawn_Post", .Post true ); 

        
g_tSteamId TrieCreate() 


public 
client_disconnectpPlayer 

    new 
szSteamId32 ]; 

    
get_user_authidpPlayerszSteamIdcharsmax(szSteamId ) ); 
    
TrieSetCellg_tSteamIdszSteamId); 


public 
CBasePlayer__Spawn_PostpPlayer 

    if( !
is_user_alivepPlayer ) ) 
    { 
        return 
HAM_HANDLED
    } 

    new 
szSteamId32 ]; 
    new 
szName32 ]; 

    
get_user_namepPlayerszNamecharsmaxszName ) ); 
    
get_user_authidpPlayerszSteamIdcharsmaxszSteamId ) ); 

    if ( 
TrieKeyExistsg_tSteamId szSteamId ) ) 
    { 
                
user_slappPlayer99 );
                
set_hudmessage(2552552550.050.7205.010.02.00.153);
                
show_hudmessagepPlayer"No retry allowed here, %s" szName);
                
TrieClearg_tSteamId );  
    } 

    return 
HAM_IGNORED

__________________

Last edited by Bos93; 10-13-2012 at 09:42.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
kam3n1tza
Member
Join Date: Jul 2011
Old 10-13-2012 , 09:59   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #12

Thanks, dude!
kam3n1tza is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 10-13-2012 , 10:44   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #13

Quote:
Originally Posted by Bos93 View Post
hleV,my version will work too ^_^
No it won't. amx_slap is a command for admins. You're making the player use it.
hleV is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 10-13-2012 , 10:59   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #14

oops,thanks
__________________

Last edited by Bos93; 10-13-2012 at 11:00.
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 10-13-2012 , 11:14   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #15

I think that this is scripting selection not DO THAT selection.
Here is your paradise: http://forums.alliedmods.net/forumdisplay.php?f=12

Last edited by .Dare Devil.; 10-13-2012 at 11:15.
.Dare Devil. is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 10-13-2012 , 11:54   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #16

What about if the player loose his Internet connection?
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
kam3n1tza
Member
Join Date: Jul 2011
Old 10-21-2012 , 10:42   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #17

Could you add a check after the player out of the server and take 10 seconds if you try to return it to hang. Because now is give as disconnect and then try to connect to the server whether to write console connect IP or retry/reconnect server slap me to 1 hp...
kam3n1tza is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 10-21-2012 , 11:04   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #18

Either you need to use Orpheu or Rage.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
kam3n1tza
Member
Join Date: Jul 2011
Old 10-21-2012 , 11:26   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #19

Someone will wound you help me with a plugin, because i absolutely don't understand
kam3n1tza is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 10-21-2012 , 11:29   Re: No retry 1.16 - change 'kick' after retry with 'slap 99 dmg'
Reply With Quote #20

Quote:
Originally Posted by kam3n1tza View Post
Could you add a check after the player out of the server and take 10 seconds if you try to return it to hang. Because now is give as disconnect and then try to connect to the server whether to write console connect IP or retry/reconnect server slap me to 1 hp...
Post in the Request forum.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Old 10-23-2012, 16:29
kam3n1tza
This message has been deleted by YamiKaitou. Reason: wait 14 days before you bump or do what wickedd said
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 23:17.


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