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

Biohazard v2.00 Beta 3b (Zombie Mod)


Post New Thread Reply   
 
Thread Tools Display Modes
pizzavesel
Member
Join Date: Dec 2008
Location: Romania
Old 04-12-2010 , 20:33   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3501

//// bio_autorespawn.sma
// path\scripting\bio_autoresp
awn.sma(47) : error 088: number of arguments does not match definition
//
// 1 Error.
// Could not locate output file compiled\bio_autorespawn.amx (compile failed).
//
// Compilation Time: 0.17 sec
// ----------------------------------------





Quote:
Originally Posted by eXacT View Post
its a joke, no?

RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn")

-.-
Watch the atached file, what to do ?
Attached Files
File Type: sma Get Plugin or Get Source (bio_autorespawn.sma - 663 views - 1.2 KB)
pizzavesel is offline
Send a message via Yahoo to pizzavesel Send a message via Skype™ to pizzavesel
Pilat100
Member
Join Date: Sep 2009
Old 04-20-2010 , 22:52   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3502

Problem with Biohazard v2.00 Beta 3b prefix_bio


L 04/20/2010 - 23:20:42: [AMXX] Run time error 25 (plugin "biohazard.amxx") - debug not enabled!
L 04/20/2010 - 23:20:42: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Pilat100 is offline
Pilat100
Member
Join Date: Sep 2009
Old 04-22-2010 , 02:13   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3503

L 04/22/2010 - 03:12:18: String formatted incorrectly - parameter 7 (total 7)
L 04/22/2010 - 03:12:18: [AMXX] Run time error 25 (plugin "biohazard.amxx") - debug not enabled!
L 04/22/2010 - 03:12:18: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Pilat100 is offline
eD.
Senior Member
Join Date: Oct 2009
Old 04-24-2010 , 12:16   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3504

Quote:
Originally Posted by Pilat100 View Post
L 04/22/2010 - 03:12:18: String formatted incorrectly - parameter 7 (total 7)
L 04/22/2010 - 03:12:18: [AMXX] Run time error 25 (plugin "biohazard.amxx") - debug not enabled!
L 04/22/2010 - 03:12:18: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Open plugins.ini and after biohazard.amxx add debug, "biohazard.amxx debug"
eD. is offline
X49-Malcolm
Junior Member
Join Date: Aug 2008
Old 04-27-2010 , 13:07   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3505

where i can take longjump plugin for the bio 2.00 b3 version?
X49-Malcolm is offline
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 04-28-2010 , 02:08   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3506

about to upload my private UBCS unlocks plugin for all to use, upload done.
__________________

Last edited by mando127; 04-28-2010 at 02:46.
mando127 is offline
Send a message via Skype™ to mando127
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 04-28-2010 , 02:25   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3507


[IMG]http://img130.**************/img130/6075/47064273.jpg[/IMG]


You need Biohazard v2.00 Beta 3b to run this plugin.
the plugin is used for humans to unlock new guns and items.
You unlock points over time spent playing in the server,
points are saved after you leave but if the server crashes all points will be
lost.

Guns:
Gold Desert Eagle | used with (Deagle)
M16A1 | used with (AUG)
Mossberg 890 | used with (M3)
Car15 | used with (M4A1)
AKS-74U | used with (Galil)
H&K G36 | used with (Famas)
HKG3 | used with (AK47)
VSS Vintorez | used with (SCOUT)
Minigun | used with (M249)

Items:
Parachute (Zombie and Human)
Flare Sticks (Human)
Low Gravity (Zombie and Human)
Anti Flashbang (Zombie only)
Steath Shoes (Zombie and Human)
Bio Gasnade (Human)
Super Slugs (Human)
Zombie Seeker (Human)
Sniper Crosshair (Human)


[IMG]http://img442.**************/img442/2865/filese.png[/IMG]
plugin: bio_unlocks.sma
models:Download


have fun

__________________

Last edited by mando127; 04-28-2010 at 02:45.
mando127 is offline
Send a message via Skype™ to mando127
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 04-28-2010 , 11:17   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3508

You must have the new unlocks plugin.....that's why you share this.........
__________________
5c0r-|3i0 is offline
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 04-28-2010 , 15:37   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3509

i remade one for my self this is the first copy cheap_suit made me like a year ago.
__________________
mando127 is offline
Send a message via Skype™ to mando127
Ryokin
Senior Member
Join Date: Jan 2010
Old 05-02-2010 , 08:43   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #3510

someone fix this frostnade work with biohazard?
Code:
#include <amxmodx>
#include <fakemeta_util>
new gCvarEnabled;
new gCvarColor;
new gCvarDuration;
new gCvarDelay;
new gCvarHitself;
new gCvarDamage;
new gScreenfade
new gTrail;
new gGlass;
new gExplotion;
new const gTaskFrostnade = 3256
new const gModelGlass[] = "models/glassgibs.mdl"
new const gModelTrail[] = "sprites/laserbeam.spr"
new const gModelExplotion[] = "sprites/shockwaveht.spr"
new const gSoundWave[] = "warcraft3/frostnova.wav"; 
new const gSoundFrosted[] = "warcraft3/impalehit.wav"; 
new const gSoundBreak[] = "warcraft3/impalelaunch1.wav";
new bool:gIsFrosted[33];
new bool:gRestartAttempt[33];
public plugin_init() 
{
 register_plugin("FROSTNADE", "1.0", "hgfj")
 
 gCvarEnabled = register_cvar("bh_fn_enabled", "1")
 gCvarColor = register_cvar("bh_fn_color", "0 100 255")
 gCvarDuration = register_cvar("bh_fn_duration", "2.5")
 gCvarDelay = register_cvar("bh_fn_delay", "1.5")
 gCvarHitself = register_cvar("bh_fn_hitself", "1")
 gCvarDamage = register_cvar("bh_fn_damage", "0")
 gScreenfade = get_user_msgid("ScreenFade")
 
 register_event("TextMsg", "event_RestartAttempt", "a", "2=#Game_will_restart_in");
 register_event("ResetHUD", "event_ResetHud", "be");
 register_event("DeathMsg","event_DeathMsg","a");
 
 register_forward(FM_PlayerPreThink,"fwd_PlayerPreThink");
 register_forward(FM_SetModel, "fwd_SetModel");
}
public plugin_precache()
{
 gTrail = precache_model(gModelTrail)
 gExplotion = precache_model(gModelExplotion)
 gGlass = precache_model(gModelGlass)
 
 precache_sound(gSoundWave)
 precache_sound(gSoundFrosted)
 precache_sound(gSoundBreak)
}
public event_RestartAttempt() 
{
 new players[32], num;
 get_players(players, num, "a");
 
 for (new i; i < num; ++i)
  gRestartAttempt[players[i]] = true;
}
public event_ResetHud(id) 
{
 if (gRestartAttempt[id]) 
 {
  gRestartAttempt[id] = false;
  return;
 }
 event_PlayerSpawn(id);
}
public event_PlayerSpawn(id) 
{
 if(gIsFrosted[id]) 
  RemoveFrost(id);
}
public event_DeathMsg()
{
 new id = read_data(2);
 
 if(gIsFrosted[id])
  RemoveFrost(id)
}
public fwd_PlayerPreThink(id)
{
 if(gIsFrosted[id])
 {
  set_pev(id, pev_velocity, Float:{0.0,0.0,0.0})  
  set_pev(id, pev_flags, pev(id, pev_flags) | FL_FROZEN); 
 }
}
public fwd_SetModel(entity, const model[]) 
{
 static id
 id = pev(entity, pev_owner);
 
 if (!is_user_connected(id))
  return;
  
 if(equal(model,"models/w_smokegrenade.mdl") && get_pcvar_num(gCvarEnabled))
 {
  static Red, Green, Blue
  GetColor(Red, Green, Blue)
  
  fm_set_rendering(entity,kRenderFxGlowShell, Red, Green, Blue, kRenderNormal, 16);
  
  message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
  write_byte(TE_BEAMFOLLOW);
  write_short(entity); // entity
  write_short(gTrail); // sprite
  write_byte(10);  // life
  write_byte(10);  // width
  write_byte(Red); // r
  write_byte(Green); // g
  write_byte(Blue); // b
  write_byte(200); // brightness
  message_end();
  
  set_pev(entity, pev_nextthink, get_gametime() + 10.0);
  
  static args[2]
  args[0] = entity;
  args[1] = id;
  
  set_task(get_pcvar_float(gCvarDelay), "ExplodeFrost", gTaskFrostnade, args, sizeof args)
 }
}
public ExplodeFrost(const args[2]) 
{  
 static ent
 ent = args[0]
 
 new id = args[1];
 
 // invalid entity
 if (!pev_valid(ent)) 
  return;
 
 // get origin
 static origin[3], Float:originF[3]
 pev(ent, pev_origin, originF);
 FVecIVec(originF, origin);
 // explosion
 CreateBlast(origin);
 
 // frost nade explode sound
 engfunc(EngFunc_EmitSound, ent, CHAN_WEAPON, gSoundWave, 1.0, ATTN_NORM, 0, PITCH_NORM)
 
 // collisions
 static victim
 victim = -1;
 
 while((victim = engfunc(EngFunc_FindEntityInSphere, victim, originF, 210.0)) != 0) 
 {
  if(!is_user_alive(victim) || gIsFrosted[victim])
   continue;
   
  if(get_pcvar_num(gCvarHitself))
  {
   if(get_user_team(id) == get_user_team(victim))
   {
    if(victim != id || !is_user_alive(id))
     continue;
    
   }
  }
  
  else 
  {
    if(get_user_team(id) == get_user_team(victim))
     continue;
  }
  
  static Red, Green, Blue
  GetColor(Red, Green, Blue)  
 
  fm_set_rendering(victim, kRenderFxGlowShell, Red, Green, Blue, kRenderNormal,25)
  engfunc(EngFunc_EmitSound, victim, CHAN_WEAPON, gSoundFrosted, 1.0, ATTN_NORM, 0, PITCH_NORM)
 
  message_begin(MSG_ONE, gScreenfade, _, victim);
  write_short(~0); // duration
  write_short(~0); // hold time
  write_short(0x0004); // flags: FFADE_STAYOUT
  write_byte(Red);  // r
  write_byte(Green);  // g
  write_byte(Blue);
  write_byte(100); // alpha
  message_end();
  
  
  if(pev(victim, pev_flags) & FL_ONGROUND)
   set_pev(victim, pev_gravity, 999999.9) 
   
  else
   set_pev(victim, pev_gravity, 0.000001) 
  
  if(get_pcvar_num(gCvarDamage))
  {
   new Float:health;
   pev(victim, pev_health, health);
   
   health -= float(get_pcvar_num(gCvarDamage))
   
   if(health <= 0)
   {
    user_silentkill(victim);
    make_deathmsg(id, victim, 0, "frostnade")
   }
   
   else
    set_pev(victim, pev_health, health);
  }
  gIsFrosted[victim] = true; 
  set_task(get_pcvar_float(gCvarDuration), "RemoveFrost", victim)
 }
 
 engfunc(EngFunc_RemoveEntity, ent)
}
public RemoveFrost(id) 
{
 if(!gIsFrosted[id]) // not alive / not frozen anymore
  return;
  
 // unfreeze
 gIsFrosted[id] = false;
 set_pev(id, pev_flags, pev(id, pev_flags) & ~FL_FROZEN);
 set_pev(id, pev_gravity, 1.0)
 engfunc(EngFunc_EmitSound, id, CHAN_VOICE, gSoundBreak, 1.0, ATTN_NORM, 0, PITCH_NORM)
 
 fm_set_rendering(id)
 
 message_begin(MSG_ONE, gScreenfade, _, id);
 write_short(0); // duration
 write_short(0); // hold time
 write_short(0); // flags
 write_byte(0); // red
 write_byte(0); // green
 write_byte(0); // blue
 write_byte(0); // alpha
 message_end();
 
 static origin[3], Float:originF[3]
 pev(id, pev_origin, originF)
 FVecIVec(originF, origin)
 message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
 write_byte(TE_BREAKMODEL);
 write_coord(origin[0]);  // x
 write_coord(origin[1]);  // y
 write_coord(origin[2] + 24); // z
 write_coord(16);  // size x
 write_coord(16);  // size y
 write_coord(16);  // size z
 write_coord(random_num(-50,50));// velocity x
 write_coord(random_num(-50,50));// velocity y
 write_coord(25);  // velocity z
 write_byte(10);   // random velocity
 write_short(gGlass);  // model
 write_byte(10);   // count
 write_byte(25);   // life
 write_byte(0x01);  // flags: BREAK_GLASS
 message_end();
}
 
CreateBlast(const origin[3]) 
{
 static Red, Green, Blue
 GetColor(Red, Green, Blue)
 
 message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
 write_byte(TE_BEAMCYLINDER);
 write_coord(origin[0]); // start X
 write_coord(origin[1]); // start Y
 write_coord(origin[2]); // start Z
 write_coord(origin[0]); // something X
 write_coord(origin[1]); // something Y
 write_coord(origin[2] + 385); // something Z
 write_short(gExplotion); // sprite
 write_byte(0); // startframe
 write_byte(0); // framerate
 write_byte(4); // life
 write_byte(60); // width
 write_byte(0); // noise
 write_byte(Red); // red
 write_byte(Green); // green
 write_byte(Blue); // blue
 write_byte(200); // brightness
 write_byte(0); // speed
 message_end();
 // medium ring
 message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
 write_byte(TE_BEAMCYLINDER);
 write_coord(origin[0]); // start X
 write_coord(origin[1]); // start Y
 write_coord(origin[2]); // start Z
 write_coord(origin[0]); // something X
 write_coord(origin[1]); // something Y
 write_coord(origin[2] + 470); // something Z
 write_short(gExplotion); // sprite
 write_byte(0); // startframe
 write_byte(0); // framerate
 write_byte(4); // life
 write_byte(60); // width
 write_byte(0); // noise
 write_byte(Red); // red
 write_byte(Green); // green
 write_byte(Blue); // blue
 write_byte(200); // brightness
 write_byte(0); // speed
 message_end();
 // largest ring
 message_begin(MSG_BROADCAST, SVC_TEMPENTITY);
 write_byte(TE_BEAMCYLINDER);
 write_coord(origin[0]); // start X
 write_coord(origin[1]); // start Y
 write_coord(origin[2]); // start Z
 write_coord(origin[0]); // something X
 write_coord(origin[1]); // something Y
 write_coord(origin[2] + 555); // something Z
 write_short(gExplotion); // sprite
 write_byte(0); // startframe
 write_byte(0); // framerate
 write_byte(4); // life
 write_byte(60); // width
 write_byte(0); // noise
 write_byte(Red); // red
 write_byte(Green); // green
 write_byte(Blue); // blue
 write_byte(200); // brightness
 write_byte(0); // speed
 message_end();
}
GetColor(&r, &g, &b)
{
 new Color[16], Red[4], Green[4], Blue[4];
 get_pcvar_string(gCvarColor, Color, 15)
 parse(Color, Red, 3, Green, 3, Blue, 3)
 
 r = str_to_num(Red)
 g = str_to_num(Green)
 b = str_to_num(Blue)
}
Ryokin is offline
Old 05-07-2010, 04:56
3XTR3M3
This message has been deleted by 3XTR3M3. Reason: useless
Reply



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 05:27.


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