View Single Post
myrkul_8
New Member
Join Date: Dec 2004
Old 12-21-2004 , 12:56  
Reply With Quote #2

OMG NOOOOO
My favourite horror monster dosnt work with AMXX 1.0

I downloaded the file and I saw it was for AMX so I looked in the SMA file and everything should be fine...

Minor stuff I changed in the SMA file ->

Code:
public plugin_precache()
{
   precache_model("models/knife/v_knife.mdl")
   precache_model("models/knife/v_knife_r.mdl")
   return PLUGIN_CONTINUE
}

to ->

public plugin_precache()
{
   precache_model("models/shero/chucky_v_knife.mdl")
   precache_model("models/shero/chucky_v_knife_r.mdl")
   return PLUGIN_CONTINUE
}
and

Code:
public knife(id) { 
  if ( !is_user_alive(id) ) return PLUGIN_CONTINUE 
  // Weapon Model change thanks to [CCC]Taz-Devil
  Entvars_Set_String(id, EV_SZ_viewmodel, "models/knife/v_knife.mdl") 
  Entvars_Set_String(id, EV_SZ_viewmodel, "models/knife/v_knife_r.mdl") 
  new iCurrent 
  iCurrent = FindEntity(-1,"weapon_knife") 
  while(iCurrent != -1) { 
    iCurrent = FindEntity(iCurrent,"weapon_knife") 
   } 
  return PLUGIN_HANDLED
} 

to ->

public knife(id) { 
  if ( !is_user_alive(id) ) return PLUGIN_CONTINUE 
  // Weapon Model change thanks to [CCC]Taz-Devil
  Entvars_Set_String(id, EV_SZ_viewmodel, "models/shero/chucky_v_knife.mdl") 
  Entvars_Set_String(id, EV_SZ_viewmodel, "models/shero/chucky_v_knife_r.mdl") 
  new iCurrent 
  iCurrent = FindEntity(-1,"weapon_knife") 
  while(iCurrent != -1) { 
    iCurrent = FindEntity(iCurrent,"weapon_knife") 
   } 
  return PLUGIN_HANDLED
}

I also changed the default level but that should be no problem...
It compiles without any errors but when I use it on the server it cant load the plugin...

It says the error with the loadin stuff in console...


Any suggestions or help?

PLEASE


Oh I also tried to change this

#include <amxmod.inc>
#include <xtrafun>
#include <superheromod.inc>
#include <Vexd_Utilities>

to ->

#include <amxmod>
#include <xtrafun>
#include <superheromod>
#include <Vexd_Utilities>

without the ".inc"

But that didnt change anything at all



Addon: And no im not a newbie or a complete morron I know where to put files and stuff...
myrkul_8 is offline