AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Furien V64 (64.2.6b - 27.08.2013) (https://forums.alliedmods.net/showthread.php?t=224430)

Blizzard_87 08-24-2013 19:42

Re: Furien V64 (64.1.4b - 24.08.2013)
 
only thing i can suggest to use less code is you have deagle as secondary in all options in weapon menu... not need to add them into const here
Code:
new const g_mCTWeapons[CT_WEAPON_MAX][GunItems] = {     {"AK47 + Deagle",   "weapon_ak47",        CSW_AK47,      "weapon_deagle",   CSW_DEAGLE,    "_"},     {"M4A1 + Deagle",   "weapon_m4a1",       CSW_M4A1,    "weapon_deagle",  CSW_DEAGLE,   "_"},     {"Famas + Deagle",  "weapon_famas",  CSW_FAMAS,      "weapon_deagle",   CSW_DEAGLE,    "_"},     {"MP5 + Deagle",    "weapon_mp5navy",  CSW_MP5NAVY,         "weapon_deagle",    CSW_DEAGLE, "_"},     {"XM1014 + Deagle",     "weapon_xm1014",    CSW_XM1014,        "weapon_deagle",    CSW_DEAGLE, "_"} }

just simply give them a deagle with what ever primary they choose...
like this?
Code:
public func_OpenGunMenu_handler(id, menu, item) {     if(cs_get_user_team(id) != CS_TEAM_CT || !is_user_alive(id))     {         menu_destroy(menu)         return PLUGIN_HANDLED     }         give_item(id, g_mCTWeapons[item][ItemPri])     cs_set_user_bpammo(id, g_mCTWeapons[item][ItemPriConst], get_pcvar_num(cvar_ct_ammo_pri))         give_item(id, "weapon_deagle")     cs_set_user_bpammo(id, CSW_DEAGLE, get_pcvar_num(cvar_ct_ammo_sec))         g_bHasWeapon[id] = true     return PLUGIN_HANDLED }
then you wont have to declare them in the enum and const?... just idea..

either way works :P

my 2 cents :P have a nice day

Kia 08-25-2013 02:19

AW: Re: Furien V64 (64.1.4b - 24.08.2013)
 
Quote:

Originally Posted by NaimB77 (Post 2020862)
Awesome, I love how evrything is good sorted.

Good Job !

#Deagle :3

Thanks





Quote:

Originally Posted by PepsiSexy (Post 2020954)
Hey, kia, can you add some more items maybe:P


You can add them yourself, see FAQ.




Quote:

Originally Posted by ^SmileY (Post 2020960)
Sorry for question, what is a Furien mod?

At Furien Mod the Ts are fast and have low gravity. When they stand still with knife they're invisible. The CTs get weapons and have to kill the CTs. When the CTs win, teams will be swapped.

@Blizzard : I want people to be able to edit this, I just made everywhere deagle, because it is my personal standard.

Mirk 08-25-2013 04:59

Re: Furien V64 (64.1.4b - 24.08.2013)
 
GOOD WORK!

Kia 08-25-2013 05:33

Re: Furien V64 (64.1.4b - 24.08.2013)
 
THANKS! :)

Looks like CSO has same Idea http://cso.wikia.com/wiki/Stealth

Kia 08-25-2013 07:30

Re: Furien V64 (64.1.5b - 24.08.2013)
 
Updated to Version 64.1.5b
  • Added alive Checks to prevent dead players to buy items.

Updated to Version 64.1.8b
  • Removed Access Flags for Items and Guns
  • Fixed Bug where Furien started without Low Gravity
  • Fixed Bug where Furien started without fast speed.

Updated to Version 64.2.0b
  • Fixed Superknife being removed too early.
  • Fixed No Flash being removed too early.

Kz1.0 08-25-2013 09:03

Re: Furien V64 (64.2.0b - 24.08.2013)
 
Maybe stupid but can you add some description about Furien Mod ? I don't know what it is XD

Kia 08-25-2013 09:36

Re: Furien V64 (64.2.0b - 24.08.2013)
 
See Post #12, I'll add it to first post later.

Updated to Version 64.2.4b
  • Fixed Superknife Damage Bug
  • Added option to save Health after Round
  • Added define for maximum Health
  • Removed Superknife and No Flash from Reset List, will be removed at Death.

HalfLife 08-26-2013 01:11

Re: Furien V64 (64.2.3b - 24.08.2013)
 
Good Job I love this Mod :D Gonna add it to my MultiMod Server :up:

mottzi 08-26-2013 03:05

Re: Furien V64 (64.2.3b - 24.08.2013)
 
Clean code :)

Maybe a little suggestion:

PHP Code:

    set_user_health(idget_user_health(id) + 50)
    if(
get_user_health(id) > MAX_HP)
        
set_user_health(idMAX_HP

:arrow:
PHP Code:

set_user_health(idmin(get_user_health(id), MAX_HP)) 


Kia 08-26-2013 03:27

Re: Furien V64 (64.2.3b - 24.08.2013)
 
Quote:

Originally Posted by mottzi (Post 2021824)
Clean code :)

Maybe a little suggestion:

PHP Code:

    set_user_health(idget_user_health(id) + 50)
    if(
get_user_health(id) > MAX_HP)
        
set_user_health(idMAX_HP

:arrow:
PHP Code:

set_user_health(idmin(get_user_health(id), MAX_HP)) 


Will be edited, thanks. :)


All times are GMT -4. The time now is 17:04.

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