AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Suggestion / Subplugin Request How to make ? (https://forums.alliedmods.net/showthread.php?t=246833)

smoka 08-23-2014 12:52

How to make ?
 
How to make regular class unavaible in class menu main goal is to make it avaible like buy surviviour/nemessis plugin

RateX 08-23-2014 12:59

Re: How to make ?
 
Remove zp_zclasses40.amxx from plugins-zplague.ini

smoka 08-23-2014 14:54

Re: How to make ?
 
not rly working for v 5+ lolz any other solvation? also im looking to hide just 1 class not all

zmd94 08-24-2014 01:13

Re: How to make ?
 
Just edit the zp_zclasses40.sma file. By the way, which class that you want to remove?

smoka 08-24-2014 06:44

Re: How to make ?
 
I dont want to remove it entirely just not being there, like nemesis/surviviour/sniper etc class

zmd94 08-24-2014 06:49

Re: How to make ?
 
Sorry, what do you mean? Which zombie classes do you want to remove from the main menu?

smoka 08-24-2014 06:56

Re: How to make ?
 
https://forums.alliedmods.net/showthread.php?t=147287 this one want to make it unavaible in class menu but still playable if it gets purchased from buy menu( i know how to make the second part)

zmd94 08-25-2014 21:04

Re: How to make ?
 
Maybe, you can try to remove this part:
PHP Code:

public zp_user_infected_post idinfector )
{
    if (
zp_get_user_zombie_class(id) == g_L4dTank)
    {
        
print_chatColor(id"\g[ZP]\n You Are A \gL4D Tank\n, You Cant Launch Rock With \tIN_USE [+E]"
        
g_power[id] = get_pcvar_num(cvar_rockEnergyNesesary)
        
set_task(get_pcvar_float(cvar_reloadpower), "power1"id__"b")
    }



smoka 08-26-2014 00:25

Re: How to make ?
 
I fixed that(found inc file which cansimply define zombie status for zp 5+) however now i need somehow to dump l4d tank code into nemessis code w.o breaking it so i can simply turn people that class by using command/or using the buy menu, if anyone knows easier way to get this done let me know.
PS nvm seems im missing something okey here is the deal i found the zp50_class_zombie_const inc file but still i cant use it properly so can u give me some guidence


All times are GMT -4. The time now is 15:14.

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