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

Frage 35hp Map


  
 
 
Thread Tools Display Modes
Author Message
David26
Junior Member
Join Date: Jun 2011
Old 01-30-2012 , 01:47   Frage 35hp Map
#1

Hi Leute,

Ich wollte eine 35hp Map auf mein Server machen.....
Aber wenn ich das mache haben alle 100 hp.
Wie kann ich das machen das die 35hp haben nur für die Map?

Gruß David
__________________
Besucht mal unsere Homepage:http://www.multiclan-germany.de
David26 is offline
Sunshine live
Veteran Member
Join Date: May 2009
Location: Berlin
Old 01-30-2012 , 08:31   Re: Frage 35hp Map
#2

Sollten das bestimmte maps sehn? Oder allgemein wie Dust2 und und und?
__________________
Sunshine live is offline
Send a message via ICQ to Sunshine live Send a message via MSN to Sunshine live Send a message via Skype™ to Sunshine live
David26
Junior Member
Join Date: Jun 2011
Old 01-31-2012 , 10:08   Re: Frage 35hp Map
#3

HI...

Nur ein Map... die anderen sollen so bleiben!

Gruß David
__________________
Besucht mal unsere Homepage:http://www.multiclan-germany.de
David26 is offline
David26
Junior Member
Join Date: Jun 2011
Old 02-09-2012 , 02:09   Re: Frage 35hp Map
#4

Kann keiner Helfen?
__________________
Besucht mal unsere Homepage:http://www.multiclan-germany.de
David26 is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 02-09-2012 , 11:01   Re: Frage 35hp Map
#5

Wie heisst die Map denn?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
David26
Junior Member
Join Date: Jun 2011
Old 02-09-2012 , 11:13   Re: Frage 35hp Map
#6

35hp_reborn ist das...
__________________
Besucht mal unsere Homepage:http://www.multiclan-germany.de
David26 is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 02-09-2012 , 12:39   Re: Frage 35hp Map
#7

Ok, versuchs mal mit dem:

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

#define PLUGIN "Custom Health"
#define VERSION "1.0"
#define AUTHOR "AMXX Community"

new g_pcvarHealth

public plugin_init()
{
    
register_plugin(PLUGIN,VERSION,AUTHOR)
    
    new 
szMap[32]
    
get_mapname(szMap31)
    
    if(
equali(szMap"35hp_reborn"))
    {
        
g_pcvarHealth register_cvar("amx_starthp""35")
    
        
RegisterHam(Ham_Spawn"player""player_spawn"1)
    }
    else
    {
        
pause("ad")
    }
}

public 
player_spawn(id
{    
    if(
is_user_alive(id)) 
    {
        
set_user_health(idget_pcvar_num(g_pcvarHealth))
    }

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
David26
Junior Member
Join Date: Jun 2011
Old 02-09-2012 , 13:10   Re: Frage 35hp Map
#8

Quote:
Originally Posted by bibu View Post
Ok, versuchs mal mit dem:

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

#define PLUGIN "Custom Health"
#define VERSION "1.0"
#define AUTHOR "AMXX Community"

new g_pcvarHealth

public plugin_init()
{
    
register_plugin(PLUGIN,VERSION,AUTHOR)
    
    new 
szMap[32]
    
get_mapname(szMap31)
    
    if(
equali(szMap"35hp_reborn"))
    {
        
g_pcvarHealth register_cvar("amx_starthp""35")
    
        
RegisterHam(Ham_Spawn"player""player_spawn"1)
    }
    else
    {
        
pause("ad")
    }
}

public 
player_spawn(id
{    
    if(
is_user_alive(id)) 
    {
        
set_user_health(idget_pcvar_num(g_pcvarHealth))
    }


Danke aber wo muß ich das rein machen?
__________________
Besucht mal unsere Homepage:http://www.multiclan-germany.de
David26 is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 02-09-2012 , 14:11   Re: Frage 35hp Map
#9

Hier http://www.amxmodx.org/webcompiler.cgi

und dann Compile.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
David26
Junior Member
Join Date: Jun 2011
Old 02-10-2012 , 09:50   Re: Frage 35hp Map
#10

Cool danke geht alles.
__________________
Besucht mal unsere Homepage:http://www.multiclan-germany.de
David26 is offline
 



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 13:18.


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