Approved [ZE] Owner Skin

Plug-ins compatibility with Zombie Escape 1.x only!


User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#11

Post by Night Fury » 5 years ago

johnnysins2000 wrote: 5 years ago jack u can do this in your special model sma ?
What's wrong with it?
Anyway, we won't do anything with plugins/extra items on the site before we finish the mod's update.
We have added new natives & more stuff.
Wait for it.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#12

Post by johnnysins2000 » 5 years ago

Jack GamePlay wrote: 5 years ago
johnnysins2000 wrote: 5 years ago jack u can do this in your special model sma ?
What's wrong with it?
Anyway, we won't do anything with plugins/extra items on the site before we finish the mod's update.
We have added new natives & more stuff.
Wait for it.
nothing wrong with it.... just an extra out side external code for 1 model

I feel like this owner model should also be there.... with your special models
Nobody Is That Busy If They Make Time :roll:

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#13

Post by Rain1153 » 5 years ago

this plugin doesn't work ( even if u use debug) plugin will run but you wont get the skin even if u have the flag
LOL

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#14

Post by sPe3doN » 5 years ago

Rain1153 wrote: 5 years ago this plugin doesn't work ( even if u use debug) plugin will run but you wont get the skin even if u have the flag
Like me but you can use this its work in my server :)
https://forums.alliedmods.net/showthrea ... 28?p=97428
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#15

Post by Raheem » 5 years ago

[mention]sPe3doN[/mention] or [mention]Rain1153[/mention] Post your plugins-zombie_escape.ini
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#16

Post by Spir0x » 5 years ago

Bro it's working fine on my server too. already tested before posting. and try to post your zombie_escape.ini like raheem said.

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#17

Post by sPe3doN » 5 years ago

Raheem wrote: 5 years ago @sPe3doN or @Rain1153 Post your plugins-zombie_escape.ini
  1. ;Core
  2. ze_core.amxx
  3.  
  4. ;Setting API / Models
  5. amx_settings_api.amxx
  6. cs_weap_models_api.amxx
  7.  
  8. ;Mod Addons
  9. ze_block_events_messages.amxx
  10. ze_effects_frags.amxx
  11. ze_effects_weather.amxx
  12. ze_weapon_menu.amxx
  13. ze_main_menu.amxx
  14. ze_resources.amxx
  15. ze_countdown.amxx
  16. ze_zombie_sounds.amxx
  17.  
  18. ;Gameplay
  19. ze_break_message.amxx
  20. ze_damage_control.amxx
  21. ze_block_tank_guns.amxx
  22. ze_show_zombie_hp.amxx
  23. ze_target_info.amxx
  24. ze_spawn_auto_unstuck.amxx
  25. ze_manual_unstuck.amxx
  26. damage_killed_effect.amxx
  27. advanced_weapon_tracers.amxx
  28. speedometer.amxx
  29. ze_special_models.amxx
  30. anti_block.amxx
  31.  
  32. ;General
  33. ad_manager.amxx
  34.  
  35. ;Enable If needed
  36. ;ze_unlimited_clip
  37. ;ze_escape_button_detector
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#18

Post by Raheem » 5 years ago

Try this:
  • Code: Select all

    #include <zombie_escape>
    
    // Setting file
    new const ZE_SETTING_RESOURCES[] = "zombie_escape.ini"
    
    #define ADMIN_MODELS_ACCESS ADMIN_RCON
    
    // Default models
    new const szAdminHumanModel[][] = 
    {
    	"human_owner"
    }
    
    // Dynamic Arrays: Models
    new Array:g_szAdminHumanModel
    
    public plugin_init()
    {
    	register_plugin("[ZE] Owner Skin", ZE_VERSION, AUTHORS)
    }
    
    public plugin_precache()
    {
    	// Initialize arrays
    	g_szAdminHumanModel = ArrayCreate(32, 1)
    	
    	// Load from external file
    	amx_load_setting_string_arr(ZE_SETTING_RESOURCES, "Player Models", "HUMAN OWNER", g_szAdminHumanModel)
    	
    	// Load our default Values
    	new iIndex
    	
    	if(ArraySize(g_szAdminHumanModel) == 0)
    	{
    		for(iIndex = 0; iIndex < charsmax(szAdminHumanModel); iIndex++)
    			ArrayPushString(g_szAdminHumanModel, szAdminHumanModel[iIndex])
    		
    		// Save to external file
    		amx_save_setting_string_arr(ZE_SETTING_RESOURCES, "Player Models", "HUMAN OWNER", g_szAdminHumanModel)
    	}
    
    	// Precache
    	new szPlayerModel[32], szModelPath[128]
    	
    	for (iIndex = 0; iIndex < ArraySize(g_szAdminHumanModel); iIndex++)
    	{
    		ArrayGetString(g_szAdminHumanModel, iIndex, szPlayerModel, charsmax(szPlayerModel))
    		formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", szPlayerModel, szPlayerModel)
    		precache_model(szModelPath)
    	}
    }
    
    public ze_user_humanized(id)
    {
    	if(!(get_user_flags(id) & ADMIN_MODELS_ACCESS))
    		return
    		
    	new szPlayerModel[32]
    
    	// Set owner model
    	ArrayGetString(g_szAdminHumanModel, random_num(0, ArraySize(g_szAdminHumanModel) - 1), szPlayerModel, charsmax(szPlayerModel))
    	rg_set_user_model(id, szPlayerModel)
    }
He who fails to plan is planning to fail

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#19

Post by Rain1153 » 5 years ago

it wont work the VIP plugin shadows your plugin or if we remove flag t ( model access ) it gives u the default skin only)
.. my ze.ini
[Weather Effects]
FOG DENSITY = 0.0008
FOG COLOR = 170 155 216 //(violet_fog 170 155 216)
FOG = 1
SNOW = 0
RAIN = 1
SKY = violet_

[Weapons Menu]
PRIMARY = weapon_famas , weapon_xm1014 , weapon_sg552 , weapon_ak47 , weapon_aug , weapon_m4a1 , weapon_mp5navy , weapon_m249
SECONDARY = weapon_glock18 , weapon_deagle , weapon_elite , weapon_usp


[Sounds]
ZOMBIE MADNESS = zombie_escape/zombie_madness1.wav
GRENADE FIRE EXPLODE = zombie_escape/grenade_explode.wav
GRENADE FIRE PLAYER = zombie_escape/zombie_burn3.wav , zombie_escape/zombie_burn4.wav , zombie_escape/zombie_burn5.wav , zombie_escape/zombie_burn6.wav , zombie_escape/zombie_burn7.wav
FROST GRENADE EXPLODE = warcraft3/frostnova.wav
FROST GRENADE PLAYER = warcraft3/impalehit.wav
FROST GRENADE BREAK = warcraft3/impalelaunch1.wav
Ready Sound = zombie_escape/neverdiestart1.mp3
Infect Sound = zombie_escape/zombie_infect_1.wav , zombie_escape/zombie_infect_2.wav
Coming Sound = zombie_escape/zombie_coming_1.wav , zombie_escape/zombie_coming_2.wav , zombie_escape/zombie_coming_3.wav
Pre-Release Sound = biohazard_detected.wav
Round Ambiance = zombie_escape/ambience_war_z.mp3
Escape Success = zombie_escape/ze_humans_win2.mp3
Escape Fail = zombie_escape/ze_zombies_win1.mp3
COUNT DOWN = zombie_escape/1.wav , zombie_escape/2.wav , zombie_escape/3.wav , zombie_escape/4.wav , zombie_escape/5.wav , zombie_escape/6.wav , zombie_escape/7.wav , zombie_escape/8.wav , zombie_escape/9.wav , zombie_escape/10.wav
ZOMBIE PAIN = zombie_escape/zombie_pain_1.wav , zombie_escape/zombie_pain_2.wav
MISS SLASH = zombie_escape/zombie_miss_slash_1.wav , zombie_escape/zombie_miss_slash_2.wav , zombie_escape/zombie_miss_slash_3.wav
MISS WALL = zombie_escape/zombie_miss_wall_1.wav , zombie_escape/zombie_miss_wall_2.wav , zombie_escape/zombie_miss_wall_3.wav
ATTACK = zombie_escape/zombie_attack_1.wav , zombie_escape/zombie_attack_2.wav , zombie_escape/zombie_attack_3.wav
DIE = zombie_escape/zombie_die.wav

[Weapon Models]
V_GRENADE FIRE = models/zombie_escape/v_bloodbomb.mdl
P_GRENADE FIRE = models/zombie_escape/p_bloodbomb.mdl
V_GRENADE FROST = models/zombie_escape/v_holybomb.mdl
P_GRENADE FROST = models/zombie_escape/p_holybomb.mdl
V_KNIFE ZOMBIE = models/zombie_escape/v_knife_zombie.mdl
V_KNIFE HUMAN = models/v_knife.mdl
P_KNIFE HUMAN = models/p_knife.mdl
V_KNIFE HUMAN ADMIN = models/v_vipbayonet.mdl
V_KNIFE ZOMBIE ADMIN = models/v_knife_bignemesis.mdl

[Grenade Sprites]
TRAIL = sprites/laserbeam.spr
RING = sprites/shockwave.spr
FIRE = sprites/flame.spr
SMOKE = sprites/black_smoke3.spr
GLASS = models/glassgibs.mdl

[Sound Durations]
Ready Sound = 19
Pre-Release Sound = 19
Round Ambiance = 120

[Player Models]
HOST ZOMBIE = host_zombie
ORIGIN ZOMBIE = origin_zombie
HUMAN ADMIN = pro_skin , snow_white
ZOMBIE ADMIN = bignemesis
HUMAN 1 = gsg9
HUMAN 2 = urban
HUMAN 3 = urban
HUMAN 4 = gsg9
Hero = Brave
Herion = assasin
HUMAN OWNER = owner

[Escape Button Message]
Button Names = grescate_amazonas , tren_escape , escape_assault , tetikleme , gemoroy , a1 , llamado_escape , carrex , manager , rescate_jp , mario_escape_final_001 , ascensor_escape , multi , escape_final , heli , msilo , trem_ati , heli_escape , heli1 , final , tren
LOL

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#20

Post by Night Fury » 5 years ago

Update .sma in .rar with the clean code otherwise it will be trashed.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#21

Post by Raheem » 5 years ago

Spirox, update code as jack said and test it so it be approved.

Thanks.
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#22

Post by Spir0x » 5 years ago

rar file updated and working fine.

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#23

Post by sPe3doN » 5 years ago

Spir0x wrote: 5 years ago
  • who have flag "g" // ADMIN_RCON
ADMIN_RCON // flag "l"
ADMIN_CVAR // flag "g"

Code: Select all

#define ADMIN_ALL        0    /* everyone */
#define ADMIN_IMMUNITY        (1<<0)    /* flag "a" */
#define ADMIN_RESERVATION    (1<<1)    /* flag "b" */
#define ADMIN_KICK        (1<<2)    /* flag "c" */
#define ADMIN_BAN        (1<<3)    /* flag "d" */
#define ADMIN_SLAY        (1<<4)    /* flag "e" */
#define ADMIN_MAP        (1<<5)    /* flag "f" */
#define ADMIN_CVAR        (1<<6)    /* flag "g" */
#define ADMIN_CFG        (1<<7)    /* flag "h" */
#define ADMIN_CHAT        (1<<8)    /* flag "i" */
#define ADMIN_VOTE        (1<<9)    /* flag "j" */
#define ADMIN_PASSWORD        (1<<10)    /* flag "k" */
#define ADMIN_RCON        (1<<11)    /* flag "l" */
#define ADMIN_LEVEL_A        (1<<12)    /* flag "m" */
#define ADMIN_LEVEL_B        (1<<13)    /* flag "n" */
#define ADMIN_LEVEL_C        (1<<14)    /* flag "o" */
#define ADMIN_LEVEL_D        (1<<15)    /* flag "p" */
#define ADMIN_LEVEL_E        (1<<16)    /* flag "q" */
#define ADMIN_LEVEL_F        (1<<17)    /* flag "r" */
#define ADMIN_LEVEL_G        (1<<18)    /* flag "s" */
#define ADMIN_LEVEL_H        (1<<19)    /* flag "t" */
#define ADMIN_MENU        (1<<20)    /* flag "u" */
#define ADMIN_ADMIN        (1<<24)    /* flag "y" */
#define ADMIN_USER        (1<<25)    /* flag "z" */
Image

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#24

Post by Spir0x » 5 years ago

So Flag "l".

User avatar
tmv
Member
Member
Russia
Posts: 36
Joined: 4 years ago
Contact:

#25

Post by tmv » 4 years ago

Problem:

Code: Select all

Invalid index 0 (count: 0)
[AMXX] Displaying debug trace (plugin "amx_settings_api.amxx", version "unknown")
[AMXX] Run time error 10: native error (native "ArrayGetString")
[AMXX]    [0] amx_settings_api.sma::native_save_setting_string_arr (line 346)
Unhandled dynamic native error
[AMXX] Displaying debug trace (plugin "ze_owner_skin.amxx", version "unknown")
[AMXX] Run time error 10: native error (native "amx_save_setting_string_arr")
[AMXX]    [0] ze_owner_skin.sma::plugin_precache (line 39)

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#26

Post by Raheem » 4 years ago

Post your zombie_escape.ini
He who fails to plan is planning to fail

User avatar
tmv
Member
Member
Russia
Posts: 36
Joined: 4 years ago
Contact:

#27

Post by tmv » 4 years ago

I fixed it thanks Raheem

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#28

Post by z0h1r-LK » 4 years ago

you add model zombie owner in plugin bro
nice

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#29

Post by Spir0x » 4 years ago

thank you

snitch
Member
Member
Turkey
Posts: 24
Joined: 4 years ago
Contact:

#30

Post by snitch » 4 years ago

need help, what i have to write in ini if my model calling: blabla/blabla.mdl

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 0 guests