AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Will this work? (https://forums.alliedmods.net/showthread.php?t=110451)

OneMoreLevel 11-29-2009 17:09

Will this work?
 
It compiles fine, I just dont have a server to test it on.
PHP Code:

/* Invisi-Health */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd"say !IHStats","say_ihstats")
    
    
RegisterHam(Ham_TakeDamage"player""fw_takedamage")
    
    
}
public 
fw_takedamage(id)

    new 
getuser = (get_user_health(id)) * 50
    set_user_rendering
idkRenderFxGlowShell000kRenderTransAlphagetuser)
    
    

public 
say_ihstats(id)
{
    new 
iHealth get_user_health(id)
    new 
iArmor get_user_armor(id)
    new 
getuser = (get_user_health(id)) * 50
    client_print 
(idprint_chat,"Your Health is %s",iHealth)
    
client_print (idprint_chat,"Your Armor is %s",iArmor)
    
client_print (idprint_chat,"Your Transparency is %s out of 255",getuser)



Arkshine 11-29-2009 17:23

Re: Will this work?
 
You can't create a dedicated server via steam or using hldsupdatetool on your computer ?

OneMoreLevel 11-29-2009 17:35

Re: Will this work?
 
I use Qwest, they dont allow dedicated without paying extra fees.
Apparently it sucks extra "bandwith."

Arkshine 11-29-2009 18:27

Re: Will this work?
 
I'm talking to create a server on your computer. You don't need internet connection to use it.

fysiks 11-29-2009 19:26

Re: Will this work?
 
You don't even need a dedicated server! Just install AMX Mod X on your listen server. Granted, some things might not test well but for the basics you can do it.


All times are GMT -4. The time now is 13:39.

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