Jump to content

Headshot Script


The_Stig

Recommended Posts

Posted

Hey all,

I needs some help here.

I am trying to edit the headshot script so when a player gets a headshot it shows a caption saying "Headshot!!" in the middle of the screen in biggish writing.

Now being i know sod all about scripting i was wondering if you could give me some pointers please :D

Thanks.

Posted

I just quickly scrolled through the tutorial and I noticed only one change. In the tutorial setTimer and addEventHandler uses string to call a function, but now we can use functions itself, so that's the only difference I've noticed. You can try it. If it won't work, don't look at tutorials which say might be outdated, because you may not know what's different in older version and the newest (currently dp2) version.

Posted

Thanks for that.

Tbh none of it makes any sense to me. Like i said i know nothing about scripting whatsoever.

Thanks anyway, I'll just leave it till i have time to learn more about this scripting stuff.

Posted

If you really want to script, learning wouldn't be difficult especially if you already know some programming language.

Posted

Start off with a very basic script, then add more things to it. Take existing code and change it and see what happens. Make mistakes and learn from them, and eventually you'll get better.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...