AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Need help with making plugins (https://forums.alliedmods.net/showthread.php?t=45537)

Trebork2005 10-04-2006 23:58

Need help with making plugins
 
I need a tutorial that isn't a plugin already just in existence, and then being told how to build it, but a tutorial that is someone telling me the things i need in a plugin, and the place for diff codes

i already know how to put together a script that someone has made,and i have a Very basic idea of how to script, but i have not been able to find out the things that if they aren't in my script they will wreck it.

if you know how to mod and understand my problem, my email/msn is [email protected], Or you can do what i was hoping for this
thread which would be a constand adding of things that you all know are needed in a plugin untill it is complete enough for me or someone else to put into a full scripting tutorial for people that have not done any kind of modding before.

stupok 10-05-2006 00:15

Re: Need help with making plugins
 
There is plenty of documentation to get a new user started. I was myself a new user only 1 short year ago.

The best way for me to learn is to determine an idea for a new script, check if it has been written and if it hasn't then look at other scripts to see if I can extract some good ideas from those scripts. At that point, I usually run into an error or two, so I recheck the documentation and if need be I can rely on support from community members on this forum. There are a lot of people willing to help you here, including me.

I don't think it's as simple as "adding of things that you all know are needed in a plugin." You generally need a specific plugin or issue for us to deal with. I'd refer you to the documentation for more general knowledge, because it is in a comprehensible format instead of random posts in no particular order.

Good site with lots of info:
http://wiki.amxmodx.org/index.php/Ca...28AMX_Mod_X%29

VEN 10-05-2006 04:08

Re: Need help with making plugins
 
Also to specific issue you can use this link: http://forums.alliedmods.net/search.php
Many questions has already been answered.

Rolnaaba 10-05-2006 10:08

Re: Need help with making plugins
 
check out Intro to AMX Mod X Scripting, Introduction to Pawn, Advanced Scripting all found at Category:Scripting AMX Mod X at wiki.amxmodx.org

Trebork2005 10-08-2006 20:36

Re: Need help with making plugins
 
Quote:

Originally Posted by stupok69 (Post 387725)
There is plenty of documentation to get a new user started. I was myself a new user only 1 short year ago.

exactly my point, there is too much documentation for someone to learn without Heaps of effort (at least it took a long time for me to find the information needed). what i am wanting to do is for someone to write/help me write a tutorial like this(note: i barely know how to do any scripting myself so thats why i at least need someone to help me with what i'm writing):

Basic Needs Of A Script:

#include <*****> = This is where you put the modules that you are going to use in your script, the modules are the things that contain all the different functions of your script.
the main one being amxmodx. 1.
public plugin_init(){ = this is where you register your plugins information to amxmodx.
register_plugin("1","2","3") 1=script name,2=vertion,3=author, note: leave the " 's in
register_concmd("4","5(do_this)",6,"7") 4=command typed in console,5=part of plugin
console command refers to(i just called it do_this so i could show u what it means further on in this tutorial), 6=admin level?(i dont know exactly), 7= what plugin does,
} = "{" and "}" are the things that contain a part of a script, if you place these in the wrong position or leave one extra in or leave one out then your plugin will not work
public do_this() { = this is where you put what happens when someone types what corrosponds to 4 further up in this script


1.If you want to look at the different functions you can have in youre script, then go into your amxmodx folder, go to scripting and look in the include folder, because there will be things that can be opened with notepad that contain all the functions.


this is what i mean, now im going to try to learn scripting the hard way, but if anyone wants to add on/suggest stuff for that then im perfectly happy.

teamo@am 10-10-2006 00:30

Re: Need help with making plugins
 
thank you guys.you also answerd my question :)

commonbullet 10-10-2006 01:24

Re: Need help with making plugins
 
This might look confusing, but you don't need to learn every function at the beginning. After you get the basics (pawn syntax, statements, plugins parts...) you'll be able to look up functions and learn them as they are needed in your code.

Trebork2005 10-11-2006 23:47

Re: Need help with making plugins
 
Quote:

Originally Posted by commonbullet (Post 389450)
This might look confusing, but you don't need to learn every function at the beginning. After you get the basics (pawn syntax, statements, plugins parts...) you'll be able to look up functions and learn them as they are needed in your code.

I KNOW OK, im not trying to get all the different functions, cause i know how to find them in the include folder, but what im trying to do, is show people where the actual functions go.

Trebork2005 10-11-2006 23:54

Re: Need help with making plugins
 
ok im going to give up on explaining this to people, so if you know what i mean and u can add things, send me a email([email protected]) or write it in this thread. IF YOU ARE JUST SAYING THE THINGS THAT HAVE ALREADY BEEN SAID, OR YOU ARE SAYING SOMETHING THAT IS WRONG WITH WHAT IVE WROTE, THEN JUST DONT PLEASE. ALL I WANTED FROM THIS THREAD WAS SOMETHING TO HELP PEOPLE THAT DONT KNOW HOW TO MOD, TO MOD!god.


All times are GMT -4. The time now is 04:49.

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