AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED] How To ignores all items delivered by maps (https://forums.alliedmods.net/showthread.php?t=141263)

GalegO 10-21-2010 13:44

[SOLVED] How To ignores all items delivered by maps
 
Some maps give weapons to the players (eg awp_india). Someone could write a function that ignores all items delivered by maps?

Thanks guys !

EDIT: Thanks, works like a charms :D

fysiks 10-21-2010 14:01

Re: How To ignores all items delivered by maps
 
Maybe: http://forums.alliedmods.net/showpos...3&postcount=14

xPaw 10-21-2010 14:05

Re: How To ignores all items delivered by maps
 
Quote:

Originally Posted by fysiks (Post 1331070)

He would need to change "armoury_entity" to "game_player_equip"

GalegO 10-21-2010 14:06

Re: How To ignores all items delivered by maps
 
OMG! Try to search using other words :'(

Thanks!

I'll try adapt this in my plugin...

fysiks 10-21-2010 14:15

Re: How To ignores all items delivered by maps
 
Quote:

Originally Posted by xPaw (Post 1331073)
He would need to change "armoury_entity" to "game_player_equip"

I guess I didn't understand what he was talking about then. But, it's good to know it's a quick modification :).

GalegO 10-21-2010 14:21

Re: How To ignores all items delivered by maps
 
Is correct to do?

PHP Code:

if(equal(szClassName"armoury_entity") || equal(szClassName"game_player_equip")) 

Becouse I want block the entities too.

fysiks 10-21-2010 14:38

Re: How To ignores all items delivered by maps
 
Quote:

Originally Posted by GalegO (Post 1331086)
Is correct to do?

PHP Code:

if(equal(szClassName"armoury_entity") || equal(szClassName"game_player_equip")) 

Becouse I want block the entities too.

Looks fine. Try it out and see.

GalegO 10-21-2010 14:43

Re: How To ignores all items delivered by maps
 
Thanks, I'll try later. I'm not in home now.

I'll update this thread later with the results. :)

EDIT:

Works FINE!

Thanks again.


All times are GMT -4. The time now is 10:18.

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