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

[Tutorial] Learn the new ways


Post New Thread Reply   
 
Thread Tools Display Modes
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 03-03-2010 , 07:31   Re: [Tutorial] Learn the new ways
Reply With Quote #11

Sorry, im not at home so I cant check them in my HLDS ^^ Will do when I get home!
__________________
The Art of War is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 03-03-2010 , 07:34   Re: [Tutorial] Learn the new ways
Reply With Quote #12

NP

But I think I need to learn some ham too.

But I cannot see what I could use ham for in a hero.
__________________
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 03-03-2010 , 10:04   Re: [Tutorial] Learn the new ways
Reply With Quote #13

As I already told you about my plans for "Icebreaker", (and as you told me xD), you might need it to make players immune to damage for a certain time (ham_block_damage yes) and different other things. Though im not good at them all, im sure that ppl like G-Dog, Vittu and Fr33m@n can tell you them all
__________________
The Art of War is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 03-03-2010 , 10:08   Re: [Tutorial] Learn the new ways
Reply With Quote #14

Restrict your learn to one module is just stupid. We use ham forward, native when we need it. like we use fakemeta or cstrike when we need it.

If you want to do something, search how you can do it, what can you do, what can't you do.

exemple i want to create a tracer, there is a lot of to do it. and all way have their own feature.
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 03-03-2010 , 10:10   Re: [Tutorial] Learn the new ways
Reply With Quote #15

Make this tutorial sticky or update the post telling useful links for scripting sh
__________________

Last edited by The Art of War; 03-25-2010 at 11:04.
The Art of War is offline
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 04-07-2010 , 10:29   Re: [Tutorial] Learn the new ways
Reply With Quote #16

thanks Jelle this tut actually help me!

but i got a problem!

i try to úse some pcvars in public client_damage but my pcvars is in plugin_init and then when i try compile it it just say "pcvarWhy" is never used.
timian is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 04-07-2010 , 11:49   Re: [Tutorial] Learn the new ways
Reply With Quote #17

This tutorial is amazing for beginers (> also for old codes)

Reccently learned quite some new stuff. Just that you forgot *you-know-what* so that i got errors...

This should be sticky.
__________________




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
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 04-07-2010 , 13:41   Re: [Tutorial] Learn the new ways
Reply With Quote #18

Post the whole code and let people take a look at it
__________________
The Art of War is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 04-07-2010 , 14:14   Re: [Tutorial] Learn the new ways
Reply With Quote #19

Quote:
Originally Posted by The Art of War View Post
Post the whole code and let people take a look at it
Isen't it better (If you want to learn, not just ripp) put the pieces togheter so that you understand what you're doing?

Tutorial basicaly means "Learn-how-to". And posting a simple basic-hero wouldent learn people much.

And trough that you will experience much more details in the code.

Understand what the diffrent parts does.


That's my opinion!
__________________




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
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 04-07-2010 , 15:23   Re: [Tutorial] Learn the new ways
Reply With Quote #20

Quote:
Originally Posted by timian View Post
thanks Jelle this tut actually help me!

but i got a problem!

i try to úse some pcvars in public client_damage but my pcvars is in plugin_init and then when i try compile it it just say "pcvarWhy" is never used.
It is not defined because you have it in plugin_init. Make a new global "pcvarWhy":

PHP Code:
new pcvarWhy

public plugin_init()
{
     
pcvarWhy register_cvar("Cvar here""value here")
}

public 
client_damage()
{
     
//Now you can use pcvarWhy in this forward.

I explained it in one of the sections.

Quote:
Originally Posted by kanatzu View Post
Isen't it better (If you want to learn, not just ripp) put the pieces togheter so that you understand what you're doing?

Tutorial basicaly means "Learn-how-to". And posting a simple basic-hero wouldent learn people much.

And trough that you will experience much more details in the code.

Understand what the diffrent parts does.


That's my opinion!
Do not copy paste this if you want to learn from it. You should write it totally on your own. If you take the parts and just copy paste them together it would be a messy code.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
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 19:48.


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