Raised This Month: $32 Target: $400
 8% 

How to start?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
colossus
Member
Join Date: Sep 2013
Old 06-20-2015 , 16:16   How to start?
Reply With Quote #1

Hi.

How should I start doing my sourcemod plugins?

I only know how to do plugins for HL1 (AMX Studio)

Is there any SM Studio to download? How do I configure?


Thanks
colossus is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-20-2015 , 16:44   Re: How to start?
Reply With Quote #2

You can take a look at https://wiki.alliedmods.net/Introduction_to_sourcepawn . Note that this is pre-1.7 syntax, but it is still valid. It is also closer to amxx syntax which you (indirectly) said you know.

Also https://sm.alliedmods.net/api/ and https://sm.alliedmods.net/new-api/ (I find the older better and with user comments, though they started deprecating it , so the new-api has additional content ).

I personally learned mostly by looking at the code of the already existing plugins, and manually searched key words in the online api tons of time. https://wiki.alliedmods.net/Game_Events_(Source) is also very useful.

Environment-wise, you do not need any special tool. A text editor does the job. Notepad++, Sublime Text and especially SPEdit recently seems to be liked a lot. And of course you may want to read the stickies. One does mention the compiler for instance.

Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 06-20-2015 at 17:18.
RedSword 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 20:23.


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