|
|
Beginner CSS BuyScripting Difficulty: Beginner |
| Category: CS:S > Scripting | Author(s): |

Hi and welcome to the Beginners guide to buy scripting, this tutorial will teach you the basics of scripting your own buy scripts right from the beginning. I'm sorry but this is only for beginners and will not cover all the aspects of buy scripting.
1: Enabling the console.
If you have not done this already then this is essential to do. If you do not know how then I have a little quest for you! Since experimenting is such an important process I will make you find out all by yourself how to enable the console. OK I'll give you a hint, find an option which is in a subgroup and which is called Enable Developer Console (~). If you cant find it, give up and use the buyscripter on the site.
2: Learning the button names.
There is a tutorial about this.
3: Learning the weapon names.
There is a tutorial about this.
4: Learning to separate CVARS.
There is a tutorial about this.
5: Learning the correct methods.
So, this being the only real step in this precise tutorial, lets start submerging more steps into this one so we don't end up all confused and horny*
- To buy a weapon (lets use m4a1 as an example):
"buy m4a1"
Now lets use desert eagle as an example:
"buy deagle"
-To buy ammo (primary weapon):
"primammo" for full OR "buyammo1" for each clip.
-To buy ammo (secondary weapon):
"secammo" for full OR "buyammo2" for each clip.
-To buy ammo (melee):
[OK wait a minute here, this feature is only possible with plugins where you can throw knives, lets leave this bit out.]
-To buy items:
"buy vesthelm"
"buy hegren"
-To buy a gun with full ammo (lets use m4a1 again):
"buy m4a1;buy primammo"
-To buy a gun with full ammo and a grenade (m4a1):
"buy m4a1;buy primammo;buy hegrenade"
So now that you've understood the basics you can try and move on to the intermediate buyscripting tutorial. Once again, case closed and shipped of to the brain for further storage.
* this has absolutely nothing to do with anything here... |
| Added: 3 years ago | Tags: beginner, buyscripting |
 Add Feedback Provide constructive feedback. What is "constructive"?You cannot post yet!Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop. To post in this submission register or login. |
 You cannot assess yet!Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure. To vote on this submission register or login. This Tutorial in a nutshell... No stamps recordedYou cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login. None foundRanked 1055th ( 2) with 1,610 points. 7 points behind .[+] DonateWant more? Find related tuts. |