Approved [ZE] Owner Skin

Gameplay Addons
User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

Re: [ZE] Owner Skin

#11

Post by Mohamed Alaa » 1 Year Ago

johnnysins2000 wrote:
1 Year 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 web projects.
CS 1.6 hosting: powergamingtech.com

johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 2 Years Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 22
Contact:

#12

Post by johnnysins2000 » 1 Year Ago

Jack GamePlay wrote:
1 Year Ago
johnnysins2000 wrote:
1 Year 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: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#13

Post by Rain1153 » 1 Year 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: 210
Joined: 2 Years Ago
Has thanked: 14 times
Been thanked: 7 times
Age: 20
Contact:

#14

Post by sPe3doN » 1 Year Ago

Rain1153 wrote:
1 Year 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

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#15

Post by Raheem » 1 Year Ago

@sPe3doN or @Rain1153 Post your plugins-zombie_escape.ini
You don't know? Learn and you will know.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#16

Post by Spir0x » 1 Year 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.
I trynna make money, not friends.

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 210
Joined: 2 Years Ago
Has thanked: 14 times
Been thanked: 7 times
Age: 20
Contact:

#17

Post by sPe3doN » 1 Year Ago

Raheem wrote:
1 Year 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

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#18

Post by Raheem » 1 Year 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)
    }
You don't know? Learn and you will know.

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#19

Post by Rain1153 » 1 Year 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
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#20

Post by Mohamed Alaa » 1 Year Ago

Update .sma in .rar with the clean code otherwise it will be trashed.
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests