Raised This Month: $12 Target: $400
 3% 

head shooter and stun gun


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 04-05-2010 , 10:20   head shooter and stun gun
Reply With Quote #1

head shooter:
kill with hs will return your life to start hp (got some problems with superman because he don't give hp on spawn)

stun gun:
will slow down a player hit by you for 100 speed in 1 sec.
after that 10 sec cooldown
Attached Files
File Type: sma Get Plugin or Get Source (sh_stun_gun.sma - 829 views - 1.3 KB)
File Type: sma Get Plugin or Get Source (sh_head_shooter.sma - 190 views - 1.2 KB)
timian is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 04-05-2010 , 10:30   Re: head shooter and stun gun
Reply With Quote #2

Yeah..... no.

You never set it as they actually have the heroes, but you still check if they have it in the stun gun one.

You don't even check if they have the power in the head shooter one so it works for everyone.

Also, the CVars in the comments on top are so wrong....
You never define the pCVar in head shooter.

Head shooter doesn't compile, and stun gun gets two warnings.



Did you look through and compile these at all before you decided to release?
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 04-05-2010 , 10:47   Re: head shooter and stun gun
Reply With Quote #3

haha lol then this is bad! just get happy when it worked! i think! XD thanks i'll try to fix it
timian is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 04-05-2010 , 10:51   Re: head shooter and stun gun
Reply With Quote #4

Quote:
Originally Posted by timian View Post
haha lol then this is bad! just get happy when it worked! i think!
No.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 04-05-2010 , 11:05   Re: head shooter and stun gun
Reply With Quote #5

i can see now! my first heroes, jsut trying and seee that it worked in the game but not perfectly yet ^^
timian is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 04-05-2010 , 11:48   Re: head shooter and stun gun
Reply With Quote #6

Found in "sh_head-Shooter"


PHP Code:
    new pcvarLevel register_cvar("flash_level""0"
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 04-05-2010 , 12:12   Re: head shooter and stun gun
Reply With Quote #7

that's me ^^ well done

Last edited by timian; 04-05-2010 at 13:04.
timian is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 04-05-2010 , 13:20   Re: head shooter and stun gun
Reply With Quote #8

Quote:
Originally Posted by kanatzu View Post
Found in "sh_head-Shooter"


PHP Code:
    new pcvarLevel register_cvar("flash_level""0"
Not sure if you mean the fact that it says "flash" or that I said it wasn't defined.

It's not a global and thus it will not work if he tries to retrieve the value in his code.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 04-05-2010 , 14:43   Re: head shooter and stun gun
Reply With Quote #9

It would be some nice ideas to work on. They should have been posted in scripting help.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 04-06-2010 , 02:30   Re: head shooter and stun gun
Reply With Quote #10

DG, with "flash_level" we all see that he ripped it off the hero Flash... So, please do not post heroes that are not finished and untested here, and I dont really get what they has to do with superheroes. Though I dont mind if they are not. Still some nice ideas.

EDIT: Woa, woa, woa..... I checked them, and (lol)stun_gun got no hero init...
__________________

Last edited by The Art of War; 04-06-2010 at 02:32.
The Art of War 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 11:26.


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