User
Pass
2FA
 
 

[rezolvat]Modificare plugin

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message511
AlexAlex04

[Mentally Stable]



Status: Offline
(since 29-01-2017 12:50)
Joined: 10 Dec 2016
Posts: 9, Topics: 3
Location: Romania

Reputation: 34.3
Votes: 1

Post Posted: 06-01-2017, 13:31:31 | Translate post to: ... (Click for more languages)

Vreau sa ramana doar primele 3 clase si clasa de vip

Code:
#pragma tabsize 0
/*================================================================================
   
   -----------------------------------
   -*- [BB] Default Zombie Classes -*-
   -----------------------------------
   
   ~~~~~~~~~~~~~~~
   - Description -
   ~~~~~~~~~~~~~~~
   
   This plugin adds the default zombie classes from Zombie Plague
   into Base Builder. All credit belongs to MeRcyLeZZ.
   
   All classes have been balanced, but feel free to edit them if
   you are not satisfied.
   
================================================================================*/

#include <amxmodx>
#include <basebuilder>
#include <hamsandwich>
#include <fun>
#include <cstrike>

/*================================================================================
 [Plugin Customization]
=================================================================================*/

// Classic Zombie Attributes
new const zclass1_name[] = { "Scheleton" }
new const zclass1_info[] = { "=Echilibrat=" }
new const zclass1_model[] = { "v_schelete" }
new const zclass1_clawmodel[] = { "v_m_schelete" }
const zclass1_health = 9000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
const zclass1_adminflags = ADMIN_ALL

// Fast Zombie Attributes
new const zclass2_name[] = { "Asistenta Zombie" }
new const zclass2_info[] = { "HP-- SP++" }
new const zclass2_model[] = { "nurse" }
new const zclass2_clawmodel[] = { "nurse_knife" }
const zclass2_health = 6500
const zclass2_speed = 328
const Float:zclass2_gravity = 1.0
const zclass2_adminflags = ADMIN_ALL

// Jumper Zombie Attributes
new const zclass3_name[] = { "Moartea" }
new const zclass3_info[] = { "HP- GR+" }
new const zclass3_model[] = { "v_sat" }
new const zclass3_clawmodel[] = { "v_m_sat" }
const zclass3_health = 7200
const zclass3_speed = 285
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_ALL

// Alien Dog Zombie Attributes
new const zclass4_name[] = { "Caine Extraterestru" }
new const zclass4_info[] = { "HP-- GR++ SP++" }
new const zclass4_model[] = { "dog" }
new const zclass4_clawmodel[] = { "dogg" }
const zclass4_health = 4200
const zclass4_speed = 390
const Float:zclass4_gravity = 0.3
const zclass4_adminflags = ADMIN_ALL

// Tanker Zombie Attributes
new const zclass5_name[] = { "Razboinic de Gheata" }
new const zclass5_info[] = { "HP++ SP-" }
new const zclass5_model[] = { "v_frost" }
new const zclass5_clawmodel[] = { "v_m_frost" }
const zclass5_health = 11500
const zclass5_speed = 210
const Float:zclass5_gravity = 1.0
const zclass5_adminflags = ADMIN_ALL
#define TANK_ARMOR 200

// Cioara Zombie Attributes
new const zclass6_name[] = { "Dragon Zburator" }
new const zclass6_info[] = { "HP--- SP+ GR +++" }
new const zclass6_model[] = { "v_dragon" }
new const zclass6_clawmodel[] = { "v_m_dragon" }
const zclass6_health = 3000
const zclass6_speed = 390
const Float:zclass6_gravity = 0.155
const zclass6_adminflags = ADMIN_MAP

// Vip Zombie Attributes
new const zclass7_name[] = { "Zombie Distrugator" }
new const zclass7_info[] = { "HP+++ SP++ GR+" }
new const zclass7_model[] = { "new_viaipi" }
new const zclass7_clawmodel[] = { "n_m_vip" }
const zclass7_health = 13000
const zclass7_speed = 328
const Float:zclass7_gravity = 0.4
const zclass7_adminflags = ADMIN_IMMUNITY



/*============================================================================*/

new g_zclass_tanker

// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
   register_plugin("[BB] Clase Zombalai", "Basebuilder v6.9", "Tirant + DanTe's update")
   
   // Register all classes
   bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
    bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0, zclass2_adminflags)
    bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0, zclass3_adminflags)
   bb_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, 0.0, zclass4_adminflags)
   g_zclass_tanker = bb_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, 0.0, zclass5_adminflags)
   bb_register_zombie_class(zclass6_name, zclass6_info, zclass6_model, zclass6_clawmodel, zclass6_health, zclass6_speed, zclass6_gravity, 0.0, zclass6_adminflags)
   bb_register_zombie_class(zclass7_name, zclass7_info, zclass7_model, zclass7_clawmodel, zclass7_health, zclass7_speed, zclass7_gravity, 0.0, zclass7_adminflags)
   
}

#if defined TANK_ARMOR
public plugin_init()
{
   RegisterHam(Ham_Spawn, "player", "ham_PlayerSpawn_Post", 1)
}

public ham_PlayerSpawn_Post(id)
{
   if (!is_user_alive(id))
      return ;
      
   if (bb_is_user_zombie(id) && bb_get_user_zombie_class(id) == g_zclass_tanker)
   {
      give_item(id, "item_assaultsuit");
      cs_set_user_armor(id, TANK_ARMOR, CS_ARMOR_VESTHELM);
   }
}
#endif

0 0
  
Back to top
View user's profile Send private message
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 06-01-2017, 16:07:01 | Translate post to: ... (Click for more languages)

Spoiler:



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message
AlexAlex04

[Mentally Stable]



Status: Offline
(since 29-01-2017 12:50)
Joined: 10 Dec 2016
Posts: 9, Topics: 3
Location: Romania

Reputation: 34.3
Votes: 1

Post Posted: 06-01-2017, 16:14:01 | Translate post to: ... (Click for more languages)

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Modified for https://www.freakz.ro

clase.txt(47 -- 62) : error 001: expected token: "*/", but found "-end of file-"
clase.txt(62) : warning 203: symbol is never used: "zclass1_clawmodel"
clase.txt(62) : warning 203: symbol is never used: "zclass1_info"
clase.txt(62) : warning 203: symbol is never used: "zclass1_model"
clase.txt(62) : warning 203: symbol is never used: "zclass1_name"
clase.txt(62) : warning 203: symbol is never used: "zclass2_clawmodel"
clase.txt(62) : warning 203: symbol is never used: "zclass2_info"
clase.txt(62) : warning 203: symbol is never used: "zclass2_model"
clase.txt(62) : warning 203: symbol is never used: "zclass2_name"
clase.txt(62) : warning 203: symbol is never used: "zclass3_clawmodel"
clase.txt(62) : warning 203: symbol is never used: "zclass3_info"
clase.txt(62) : warning 203: symbol is never used: "zclass3_model"
clase.txt(62) : warning 203: symbol is never used: "zclass3_name"
clase.txt(62) : warning 203: symbol is never used: "zclass7_clawmodel"
clase.txt(62) : warning 203: symbol is never used: "zclass7_info"
clase.txt(62) : warning 203: symbol is never used: "zclass7_model"
clase.txt(62) : warning 203: symbol is never used: "zclass7_name"
clase.txt(62) : error 013: no entry point (no public functions)

2 Errors.
Compilarea a esuat!

0 0
  
Back to top
View user's profile Send private message
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 06-01-2017, 17:27:43 | Translate post to: ... (Click for more languages)

E de la comentariu -_- trebuie doar sters..
Code:

#include <amxmodx>
#include <basebuilder>

// Classic Zombie Attributes
new const zclass1_name[] = { "Scheleton" }
new const zclass1_info[] = { "=Echilibrat=" }
new const zclass1_model[] = { "v_schelete" }
new const zclass1_clawmodel[] = { "v_m_schelete" }
const zclass1_health = 9000
const zclass1_speed = 260
const Float:zclass1_gravity = 1.0
const zclass1_adminflags = ADMIN_ALL

// Fast Zombie Attributes
new const zclass2_name[] = { "Asistenta Zombie" }
new const zclass2_info[] = { "HP-- SP++" }
new const zclass2_model[] = { "nurse" }
new const zclass2_clawmodel[] = { "nurse_knife" }
const zclass2_health = 6500
const zclass2_speed = 328
const Float:zclass2_gravity = 1.0
const zclass2_adminflags = ADMIN_ALL

// Jumper Zombie Attributes
new const zclass3_name[] = { "Moartea" }
new const zclass3_info[] = { "HP- GR+" }
new const zclass3_model[] = { "v_sat" }
new const zclass3_clawmodel[] = { "v_m_sat" }
const zclass3_health = 7200
const zclass3_speed = 285
const Float:zclass3_gravity = 0.5
const zclass3_adminflags = ADMIN_ALL


// Vip Zombie Attributes
new const zclass7_name[] = { "Zombie Distrugator" }
new const zclass7_info[] = { "HP+++ SP++ GR+" }
new const zclass7_model[] = { "new_viaipi" }
new const zclass7_clawmodel[] = { "n_m_vip" }
const zclass7_health = 13000
const zclass7_speed = 328
const Float:zclass7_gravity = 0.4
const zclass7_adminflags = ADMIN_IMMUNITY

// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[BB] Clase Zombalai", "Basebuilder v6.9", "Tirant + DanTe's update")

// Register all classes
bb_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, 0.0, zclass1_adminflags)
bb_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, 0.0, zclass2_adminflags)
bb_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, 0.0, zclass3_adminflags)
bb_register_zombie_class(zclass7_name, zclass7_info, zclass7_model, zclass7_clawmodel, zclass7_health, zclass7_speed, zclass7_gravity, 0.0, zclass7_adminflags)
}



Retired from Amxmodx

2 0
  
Back to top
View user's profile Send private message
AlexAlex04

[Mentally Stable]



Status: Offline
(since 29-01-2017 12:50)
Joined: 10 Dec 2016
Posts: 9, Topics: 3
Location: Romania

Reputation: 34.3
Votes: 1

Post Posted: 06-01-2017, 17:31:13 | Translate post to: ... (Click for more languages)

Rezolvat . mersi
0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by -P!C@-, 06 January 2017 18:51



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 11-02-2025, 16:08:18
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x