Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP50] Human classes pack (5 hclasses)


Post New Thread Reply   
 
Thread Tools Display Modes
FazeR
New Member
Join Date: Aug 2013
Old 08-14-2013 , 12:59   Re: [ZP50] Human classes pack (5 hclasses)
Reply With Quote #31

Hello everyone. I have a problem with these class plugins. So, when i start my server, they don't work. They just don't appear in menu in human classes, only classic and raptor classes. Can anybody help me? May be i something have confused with folders or what?? I can't understand.. And one more: i put all my plugins except "silent feet" and "armorer" because when i join them to my server it won't work.

Sorry for my english

Last edited by FazeR; 08-14-2013 at 13:00.
FazeR is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 08-28-2013 , 16:21   Re: [ZP50] Human classes pack (5 hclasses)
Reply With Quote #32

Why don't you make a 5 in 1 plugin??
And can you enable it for zp 4.3 ?
__________________
BLacking98 is offline
unscarred
Member
Join Date: Dec 2009
Location: cs 1.6
Old 04-07-2016 , 19:46   Re: [ZP50] Human classes pack (5 hclasses)
Reply With Quote #33

Quote:
Originally Posted by last_hope View Post
zp50 Armorer Human FIXED:
PHP Code:
#include <amxmodx> 
#include <fun> 
#include <zp50_class_human> 
#include <zp50_core> 
#include <zp50_colorchat> 
#include <cstrike> 

// Raptor Human Attributes 
new const humanclass2_name[] = "Armorer Human" 
new const humanclass2_info[] = "Gets armor" 
new const humanclass2_models[][] = { "terror" 
const 
humanclass2_health 100 
const Float:humanclass2_speed 1.1 
const Float:humanclass2_gravity 1.0 

new g_HumanClassIDcvar_armor 

public plugin_precache() 

    
register_plugin("[ZP] Class: Human: Pounder"ZP_VERSION_STRING"ZP Dev Team"
     
    
g_HumanClassID zp_class_human_register(humanclass2_namehumanclass2_infohumanclass2_healthhumanclass2_speedhumanclass2_gravity
    new 
index 
    
for (index 0index sizeof humanclass2_modelsindex++) 
        
zp_class_human_register_model(g_HumanClassIDhumanclass2_models[index]) 
         
    
cvar_armor register_cvar("zp_class_human_armorer""40"


public 
zp_fw_core_spawn_post(id

set_task3.0"fuckin_hclass"id )


public 
fuckin_hclass(id)
{
    if (
zp_class_human_get_current(id) == g_HumanClassID
    { 
        
zp_colored_print(id"You are using^x04Armorer hclass^x01, you now have^x04%s^x01 armor."get_pcvar_num(cvar_armor)) 
        
cs_set_user_armor(idget_pcvar_num(cvar_armor), CS_ARMOR_KEVLAR
    } 
    return 
PLUGIN_HANDLED


too many spans error logs

Run time error 10: native error (native "zp_class_human_get_current")
[0] zp5.0_human_armor.sma::fuckin_hclass (line 37)
[ZP] Invalid Player (16)

public fuckin_hclass(id)
{
if (zp_class_human_get_current(id) == g_HumanClassID)
{
zp_colored_print(id, "You are using^x04Armorer hclass^x01, you now have^x04%s^x01 armor.", get_pcvar_num(cvar_armor))
cs_set_user_armor(id, get_pcvar_num(cvar_armor), CS_ARMOR_KEVLAR)
}
return PLUGIN_HANDLED;
}
line 37 if (zp_class_human_get_current(id) == g_HumanClassID)
unscarred is offline
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 17:42.


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