AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   2 codes (https://forums.alliedmods.net/showthread.php?t=196092)

daniel46 09-15-2012 08:59

2 codes
 
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

floatman 09-15-2012 12:51

Re: 2 codes
 
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.

daniel46 09-15-2012 16:28

Re: 2 codes
 
thanks with 1

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

3 some one could help me?


All times are GMT -4. The time now is 08:19.

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