Raised This Month: $ Target: $400
 0% 

2 codes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
daniel46
Senior Member
Join Date: Dec 2011
Old 09-15-2012 , 08:59   2 codes
Reply With Quote #1

so i need 2 things

1 is i want to set health as the players in the server

example:1 player = 100 hp
30 players = 3000 hp

2 i need code that players couldnt pick up weapons

3 also i have jailbreak first wriiter and i want to ask how can i use this

http://forums.alliedmods.net/showthread.php?t=138497

and i want if the player dont talk after 10 sec it will send hemm back to the terror

Last edited by daniel46; 09-15-2012 at 13:15.
daniel46 is offline
floatman
Senior Member
Join Date: Oct 2009
Location: nowhere.
Old 09-15-2012 , 12:51   Re: 2 codes
Reply With Quote #2

1.
PHP Code:
#include < amxmodx >
#include < fun >
#include < hamsandwich >

public plugin_init()
{
    
register_plugin"Health by players""1.0""flman" );

    
RegisterHamHam_Spawn"player""fwd_spawn");
}

public 
fwd_spawni_Index )
{
    new 
iPlayers get_playersnum);
    new 
iHealth = (100 iPlayers);

    
set_user_healthi_IndexiHealth );

2. You can use one of these plugins https://forums.alliedmods.net/showth...ad.php?t=49323.
__________________


Last edited by floatman; 09-16-2012 at 05:33.
floatman is offline
daniel46
Senior Member
Join Date: Dec 2011
Old 09-15-2012 , 16:28   Re: 2 codes
Reply With Quote #3

thanks with 1

but 2 i want easy little code with bool to use when i want

3 some one could help me?
daniel46 is offline
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 08:19.


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