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

Subplugin Submission [ZP4.3+5.0] Addon: VIP Model


Post New Thread Reply   
 
Thread Tools Display Modes
ScrappeR
Senior Member
Join Date: Dec 2010
Old 07-14-2013 , 16:06   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #11

????????? ???
__________________
ScrappeR is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 07-14-2013 , 16:10   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #12

see my previous post, you need to copy native from ZP 4.3 fix 5 to ZPA, then if you don't know, post your ZP SMA and INC
TheDS1337 is offline
ScrappeR
Senior Member
Join Date: Dec 2010
Old 07-14-2013 , 17:33   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #13

Quote:
Originally Posted by DeagLe.Studio View Post
see my previous post, you need to copy native from ZP 4.3 fix 5 to ZPA, then if you don't know, post your ZP SMA and INC

Just post scripts, INC, files here and for ZPA Mod and nothing more... ?
__________________
ScrappeR is offline
Nano x
Member
Join Date: Feb 2014
Location: Lebanon, beirut
Old 06-26-2014 , 11:30   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #14

good job
Nano x is offline
LeBadit
Member
Join Date: Dec 2013
Location: Europe
Old 06-27-2014 , 03:36   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #15

Why to make a new plugin, rather then adding models in the main vip.


PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <engine>
#include <fun>
#include <hamsandwich>
#include <zombieplague>

////////// PLUGIN SETTINGS //////////
#define MODE 3
#define CHAT_PREFIX "[VIP]"

///Models///
#define MODEL_VIP "vip" 
Anyway gj
LeBadit is offline
Send a message via Yahoo to LeBadit Send a message via Skype™ to LeBadit
Gam3ronE
SourceMod Donor
Join Date: Aug 2010
Old 07-06-2014 , 13:39   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #16

Seperate plugins are easier to debug. The same reason Version 5 is split up into many plugins.
Gam3ronE is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-07-2014 , 00:55   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #17

Quote:
Originally Posted by Gam3ronE View Post
Seperate plugins are easier to debug. The same reason version 5 is split up into many plugins.
Simple and good explanation.
zmd94 is offline
R@OUFE
Member
Join Date: Jul 2014
Old 08-06-2014 , 11:18   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #18

please compiler this for me !!!

#include < amxmodx >
#include < hamsandwich >
#include < cs_player_models_api >
#include < zp50_core >
#include < zp50_class_nemesis >
#include < zp50_class_survivor >
#include < zmvip >

new g_pluginInfo[][] =
{
"[ZP50] Addon: VIP Model",
"1.0",
"De{a}gLe"
};

#define IsPlayer(%0) ( 1 <= (%0) <= get_maxplayers() ) // Thank you Connor !

new const g_vipModelHuman[][] = { "vip" };
new const g_vipModelZombie[][] = { "zombie_source" };

public plugin_precache()
{
register_plugin( g_pluginInfo[0], g_pluginInfo[1], g_pluginInfo[2] );
RegisterHam( Ham_Spawn, "player", "forwardClientSpawn_Post", 1 );

static index;
for (index = 0; index < sizeof g_vipModelHuman; index++ )
{
static patch[126];
formatex( patch, sizeof patch, "models/player/gold/gold.mdl", g_vipModelHuman[index], g_vipModelHuman[index] );
precache_model( patch );
}

for (index = 0; index < sizeof g_vipModelZombie; index++ )
{
static patch[126];
formatex( patch, sizeof patch, "models/player/%s/%s.mdl", g_vipModelZombie[index], g_vipModelZombie[index] );
precache_model( patch );
}
}

public forwardClientSpawn_Post( client, attacker )
{
if ( IsPlayer(client) && (zv_get_user_flags(client) & ZV_MAIN) )
cs_set_player_model( client, g_vipModelHuman[random_num(0, sizeof g_vipModelHuman - 1)] );
}

public zp_fw_core_cure_post( client, survvior )
{
if ( zp_class_survivor_get(client) )
return PLUGIN_HANDLED;

if ( IsPlayer(client) && (zv_get_user_flags(client) & ZV_MAIN) )
cs_set_player_model( client, g_vipModelHuman[random_num(0, sizeof g_vipModelHuman - 1)] );

return PLUGIN_CONTINUE;
}

public zp_fw_core_infect_post( client, attacker )
{
if ( zp_class_nemesis_get(client) )
return PLUGIN_HANDLED;

if ( IsPlayer(client) && (zv_get_user_flags(client) & ZV_MAIN) )
cs_set_player_model( client, g_vipModelZombie[random_num(0, sizeof g_vipModelZombie - 1)] );

return PLUGIN_CONTINUE;
}
R@OUFE is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-06-2014 , 11:31   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #19

Quote:
Please compile this for me.
Don't you have local compiler?

Last edited by zmd94; 08-06-2014 at 11:31.
zmd94 is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 08-06-2014 , 11:46   Re: [ZP4.3+5.0] Addon: VIP Model
Reply With Quote #20

Quote:
Originally Posted by LeBadit View Post
Why to make a new plugin, rather then adding models in the main vip.


PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <engine>
#include <fun>
#include <hamsandwich>
#include <zombieplague>

////////// PLUGIN SETTINGS //////////
#define MODE 3
#define CHAT_PREFIX "[VIP]"

///Models///
#define MODEL_VIP "vip" 
Anyway gj
In upcomming zm vip 2.0 version already included and working
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)


Last edited by aaarnas; 08-06-2014 at 11:47. Reason: Added smile at the end lol
aaarnas 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 08:24.


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