AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Anti Infection Armor [BIOHAZARD] (https://forums.alliedmods.net/showthread.php?t=91147)

Emilioneri 04-27-2009 10:15

Anti Infection Armor [BIOHAZARD]
 
2 Attachment(s)
Description:
This plugin will allow players to buy Anti Infection Armor. when someone types /antiinfect he recieves armor and can not be infected while his armor is gone :)

Commands:
say /antiinfect

Cvars:
amx_infectarmor (cost of armor. default: 2500)

Translations:

crazyeffect 04-27-2009 10:22

Re: Anti Infection Armor [BIOHAZARD]
 
Well...

I think its a good idea...

But i suppose you need to post it in Biohazard topic... Its just a sub-plugin

Emilioneri 04-27-2009 10:24

Re: Anti Infection Armor [BIOHAZARD]
 
Biohazard topic :?::?::?: where is that? tell me a link

crazyeffect 04-27-2009 10:30

Re: Anti Infection Armor [BIOHAZARD]
 
http://forums.alliedmods.net/showthr...68523&page=321

5c0r-|3i0 04-27-2009 11:02

Re: Anti Infection Armor [BIOHAZARD]
 
Good !! Now we more people want to make Biohazard sub-plugins . I'd appreciate.
I'm also a Biohazard sub-plugins creator too ^^!

But...I look at your code and :

1) U need to include <biohazard> so only when Biohazard is on,this plugins will works, otherwise...it won't.

2)Need optimization......

3)cs_***_user_money is useless in here...Cuz Biohazard uses another money system...You should look at biohazard.sma .
4)Did U check that Zombies can't buy anti infection armor ??


Quote:

if (!is_user_alive(id))
should be
Quote:

if (!is_user_alive(id) || is_user_zombie(id) )
5) This only for Biohazard 2.xx or 1.93 ??? Some servers still use Bh 1.93..

6) Look at here to make your plugins better .
That's all I know....Sorry :mrgreen:

DarkGod 04-27-2009 11:04

Re: Anti Infection Armor [BIOHAZARD]
 
Quote:

Originally Posted by 5c0r-|3i0 (Post 815492)
2)Need optimization...Don't use Fun modules...You should use fakemeta

http://forums.alliedmods.net/showthread.php?t=88792

Quote:

Most people say that FakeMeta is the best module arround but it is not the most efficient! The module uses a lot of cpu becouse of the big database of function that it provides. To this question this is the answer: every module has good things to offer, we must use the special functions provided by every module.

xPaw 04-27-2009 11:42

Re: Anti Infection Armor [BIOHAZARD]
 
Event_Round_Start doesnt pass any index, you need to loop thought all players.

You don't have enaugh

Emilioneri 04-27-2009 12:05

Re: Anti Infection Armor [BIOHAZARD]
 
Updated :)

Quote:

Originally Posted by 5c0r-|3i0 (Post 815492)
I'm also a Biohazard sub-plugins creator too ^^!

If so, take look at this :D

xPaw 04-27-2009 12:22

Re: Anti Infection Armor [BIOHAZARD]
 
I said you need to loop though all players... you cant just use '0' as id.

enaugh -> enough

Emilioneri 04-27-2009 12:41

Re: Anti Infection Armor [BIOHAZARD]
 
Quote:

Originally Posted by xPaw (Post 815560)
I said you need to loop though all players...

How? I don't understand :?


All times are GMT -4. The time now is 21:42.

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