forwards change

This commit is contained in:
Lukasz Wlasinksi
2004-07-01 10:12:50 +00:00
parent ed7b584b49
commit 3c99a32272
8 changed files with 99 additions and 14 deletions

View File

@ -55,8 +55,8 @@ int gmsgAmmoPickup;
int mState;
int mPlayerIndex;
int iFDamage;
int iFDeath;
Forward g_death_info;
Forward g_damage_info;
RankSystem g_rank;
Grenades g_grenades;
@ -353,9 +353,6 @@ void FN_AMXX_Detach() {
g_grenades.clear();
g_rank.clear();
g_rank.unloadCalc();
g_damage_info.clear();
g_death_info.clear();
}
void FN_AMXX_PLUGINSLOADED(){
iFDeath = MF_RegisterForward("client_death",ET_IGNORE,FP_CELL,FP_CELL,FP_CELL,FP_CELL,FP_CELL,FP_DONE);
iFDamage = MF_RegisterForward("client_damage",ET_IGNORE,FP_CELL,FP_CELL,FP_CELL,FP_CELL,FP_CELL,FP_CELL,FP_DONE);
}