Raised This Month: $52 Target: $400
 13% 

superhero in gun restricted map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aba010
Junior Member
Join Date: Jun 2010
Old 06-17-2010 , 02:41   superhero in gun restricted map
Reply With Quote #1

The superhero mod is fine in other maps. When I change to awp_india
it only allows awp and granades. Guns which I should get from heros are gone. How do you solve this?
aba010 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 06-17-2010 , 14:11   Re: superhero in gun restricted map
Reply With Quote #2

Assuming you have the latest version, since you didn't provide any information, you can go to the SH config folder, located in the amxx config folder. In there you can set all maps which has the prefix "awp_" to not let any SH give any weapon out.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 06-17-2010 , 17:22   Re: superhero in gun restricted map
Reply With Quote #3

Jelle, he wants weapons give.

The map is probably stripping the player of weapons.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
aba010
Junior Member
Join Date: Jun 2010
Old 06-17-2010 , 18:44   Re: superhero in gun restricted map
Reply With Quote #4

Quote:
Originally Posted by vittu View Post
Jelle, he wants weapons give.

The map is probably stripping the player of weapons.
That's what I mean. How can I fix it so that I can use other weapons?
aba010 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 06-17-2010 , 19:07   Re: superhero in gun restricted map
Reply With Quote #5

Quote:
Originally Posted by vittu View Post
Jelle, he wants weapons give.

The map is probably stripping the player of weapons.
Oh, I guess I misunderstood what he wrote.

Quote:
Originally Posted by aba010 View Post
That's what I mean. How can I fix it so that I can use other weapons?
If you are using amxx to give yourself a weapon, do you also drop that one?
If not, then you could set a task each time a player spawns, and give the weapons out after like 2 seconds, where the map stopped stripping all the weapons you have.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
aba010
Junior Member
Join Date: Jun 2010
Old 06-17-2010 , 20:33   Re: superhero in gun restricted map
Reply With Quote #6

I can use UAIO to give myself weapons. How do you set the thing you ay?
aba010 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 06-17-2010 , 21:14   Re: superhero in gun restricted map
Reply With Quote #7

Open up each code for each weapon giving hero and make a set_task and let it give weapons 2 seconds after round start.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
aba010
Junior Member
Join Date: Jun 2010
Old 06-17-2010 , 21:44   Re: superhero in gun restricted map
Reply With Quote #8

where is that code file? sorry, but im new to superero settings. can you quote me the exact code as well . thanks
aba010 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 06-18-2010 , 15:37   Re: superhero in gun restricted map
Reply With Quote #9

PHP Code:
new args[1]

public 
sh_client_spawn(id)
{
    
//first you check if the guy has the hero or not. If you do not do this, every person will get the weapon
    
args[0] = id
    set_task
(2"give_weapon"0args1"a"1)
}

give_weapon(args)
{
    
sh_give_weapon(argsCSW_M4A1)

I believe this is how you use the set_task, and moves the ID along with it. I have never really used set_task so much, and I actually forgot how to use it a bit.
If anyone sees an error in this, please correct it.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
[email protected]
Veteran Member
Join Date: May 2008
Location: France Marne
Old 06-18-2010 , 15:40   Re: superhero in gun restricted map
Reply With Quote #10

I played on this map with an sh server, there is somes zone on spawn who strip weapons.

You can
- try to disable the strip with a plugins but i don't know if this is possible.
- recreate the map without strip zone.
- forget this map, really.

a set task thing is possible but that mean you need to edit all of your weapon heroes for only one map.

Last edited by [email protected]; 06-18-2010 at 15:43.
Fr33m@n is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode