Proszę o pomoc

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Napisano 07.07.2011 14:35
Napisano 07.07.2011 14:41
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#define PLUGIN "Nie zabijam sie juz"
#define VERSION "1.0"
#define AUTHOR "Fili:P"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(HamTakeDamage, "player", "he", 0)
}
public he(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(this==idinflictor)
{
SetHamParamFloat(4, 0.0);
}
}
Napisano 07.07.2011 15:22
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <hamsandwich> #define PLUGIN "Nie zabijam sie juz" #define VERSION "1.0" #define AUTHOR "Fili:P" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_TakeDamage, "player", "he", 0) } public he(this, idinflictor, idattacker, Float:damage, damagebits) { if(damagebits&(1<<24) && idattacker == this) { SetHamParamFloat(4, 0.0); return HAM_HANDLED; } return HAM_IGNORED; }
Napisano 07.07.2011 15:28
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team nokillhe.sma(15) : error 017: undefined symbol "HamTakeDamage" nokillhe.sma(15) : warning 215: expression has no effect nokillhe.sma(15) : warning 215: expression has no effect nokillhe.sma(15) : warning 215: expression has no effect nokillhe.sma(15) : error 001: expected token: ";", but found ")" nokillhe.sma(15) : error 029: invalid expression, assumed zero nokillhe.sma(15) : fatal error 107: too many error messages on one line Compilation aborted. 4 Errors.
Napisano 07.07.2011 15:40
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN "Nie zabijam sie juz"
#define VERSION "1.0"
#define AUTHOR "Fili:P"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_TakeDamage, "player", "he", 0)
}
public he(this, idinflictor, idattacker, Float:damage, damagebits)
{
if(damagebits&(1<<24) && idattacker == this)
return HAM_SUPERCEDE;
return HAM_IGNORED;
}
Użytkownik sebul edytował ten post 07.07.2011 16:08
Posiadam TBM (inaczej PTB), które działa dużo lepiej niż zwykłe PTB, nawet na modach z lvlami. Zainteresowany? Proszę bardzo
Napisano 07.07.2011 15:41
0 użytkowników, 0 gości, 0 anonimowych