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

WTF?


Post New Thread Reply   
 
Thread Tools Display Modes
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 04-14-2011 , 07:46   Re: WTF?
Reply With Quote #21

Quote:
Originally Posted by Fr33m@n View Post
Godmode function isn't the only to set a spawn protection.
There is other possible things like modifying pev_takedamage or prevent damage by blocking with ham.
Of course but why would you want that? :p
__________________
The Art of War is offline
RollerBlades
Senior Member
Join Date: Feb 2011
Location: Sweden
Old 04-14-2011 , 09:53   Re: WTF?
Reply With Quote #22

isn't it better to use get_pcvar_float(howLong)

then Float:howLong

and isn't it better to use set_user_rendering then sh_set_rendering?

Last edited by RollerBlades; 04-14-2011 at 10:00.
RollerBlades is offline
Exploited
Veteran Member
Join Date: Jul 2010
Location: Sweden
Old 04-14-2011 , 09:59   Re: WTF?
Reply With Quote #23

HowLong is a parameter.
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts
Exploited is offline
RollerBlades
Senior Member
Join Date: Feb 2011
Location: Sweden
Old 04-14-2011 , 10:07   Re: WTF?
Reply With Quote #24

can i use the other one too?

can i change:
set_task(3.0, "phoenix_unglow", id)
to
set_task(get_pcvar_float(gPcvarGodSecs), "phoenix_unglow", id)

and also shoud i change sh_set_rendering(id) to set_user_rendering(id) in the unglow part.. i got it from Raak the Breaker

Last edited by RollerBlades; 04-14-2011 at 10:26.
RollerBlades is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 04-14-2011 , 12:13   Re: WTF?
Reply With Quote #25

YOU DONT NEED RENDERING FOR GODMODE OMG
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
RollerBlades
Senior Member
Join Date: Feb 2011
Location: Sweden
Old 04-14-2011 , 12:44   Re: WTF?
Reply With Quote #26

i know but it woud look good with it also so you know the persons in godmode so you can run for your life! WOUD THAT EVEN MAKE SENSE TO YOU???! NO! CAUSE YOU DONT KNOW CS! I HOPE IVE HURT YOUR FEELINGS NOW!
RollerBlades is offline
Exploited
Veteran Member
Join Date: Jul 2010
Location: Sweden
Old 04-14-2011 , 12:55   Re: WTF?
Reply With Quote #27

Quote:
Originally Posted by RollerBlades View Post
i know but it woud look good with it also so you know the persons in godmode so you can run for your life! WOUD THAT EVEN MAKE SENSE TO YOU???! NO! CAUSE YOU DONT KNOW CS! I HOPE IVE HURT YOUR FEELINGS NOW!
Just fuck off will you?
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts
Exploited is offline
RollerBlades
Senior Member
Join Date: Feb 2011
Location: Sweden
Old 04-14-2011 , 13:13   Re: WTF?
Reply With Quote #28

no
RollerBlades is offline
kennyke12
Junior Member
Join Date: Mar 2011
Location: Hungary
Old 04-14-2011 , 13:38   Re: WTF?
Reply With Quote #29

Quote:
native sh_set_godmode(id, Float:howLong);
Hm?
kennyke12 is offline
Send a message via MSN to kennyke12
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 04-14-2011 , 13:39   Re: WTF?
Reply With Quote #30

Quote:
Originally Posted by RollerBlades View Post
can i use the other one too?

can i change:
set_task(3.0, "phoenix_unglow", id)
to
set_task(get_pcvar_float(gPcvarGodSecs), "phoenix_unglow", id)

and also shoud i change sh_set_rendering(id) to set_user_rendering(id) in the unglow part.. i got it from Raak the Breaker
Ive told you, you dont need sh_set_rendering..... Dont be fucking retarded. sh_set_godmode() sets the rendering automatically depending on team... Blue for CT and red for Terrorist........

Just fucking just the parameters....

If youre only going to use it once, which you most likely will, use this:

PHP Code:
new pCvarGodmode //Global

public plugin_init()
{

    
Bla bla bla bla

    pCvarGodmode 
register_cvar("fuckallretard_idiotic_comments""2")
}

//Where you set the godmode, if id is the index

sh_set_godmode(idget_pcvar_float(pCvarGodmode)) 

Quote:
Originally Posted by Exploited View Post
Just fuck off will you?
Agreed.
__________________
The Art of War is offline
Reply



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 06:39.


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