Raised This Month: $ Target: $400
 0% 

Pawn tutorial ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Str4x3D1x
Member
Join Date: Feb 2014
Old 03-15-2017 , 10:28   Pawn tutorial ?
Reply With Quote #1

Sorry...i have no idea how to put title. :/

I need someone to learn me about pawning and making plugins for cs 1.6
If someone has a will and free time, i would be really thankful.
I am new into this, and to be honest, i have no idea how to make a simple plugin. I really need help.
Str4x3D1x is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-15-2017 , 10:54   Re: Pawn tutorial ?
Reply With Quote #2

You should start by reading :

- Tutorials
- Examples
- Other's codes.

We all had no idea how to make a simple plugin when we was new to this.

You could start by reading Emp's Pawn Tutorial and understanding the variables function.
__________________
edon1337 is offline
Str4x3D1x
Member
Join Date: Feb 2014
Old 03-15-2017 , 10:58   Re: Pawn tutorial ?
Reply With Quote #3

Is there any type of wiki that contains all functions and what they do ? Like FG has one, i used to do some scripts at FG when i was making it, their wiki made all the things a lot easier and i learned it really quickly... Anything similar to this in here ?
Str4x3D1x is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-15-2017 , 11:10   Re: Pawn tutorial ?
Reply With Quote #4

http://amxmodx.org/api
https://forums.alliedmods.net/forumdisplay.php?f=83
https://wiki.alliedmods.net/Category...ng_(AMX_Mod_X)
__________________

Last edited by Emp`; 03-15-2017 at 12:32. Reason: fixed last url
HamletEagle is offline
Old 03-15-2017, 11:10
klippy
This message has been deleted by klippy. Reason: Ninja'd
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-15-2017 , 11:24   Re: Pawn tutorial ?
Reply With Quote #5

Wiki's arent that helpful. You can learn more by surfing the includes located in amxmodx/scripting/include folder.

Some forwards from amxmodx.inc :
PHP Code:
/* Function is called just after server activation.
* Good place for configuration loading, commands and cvars registration. */
forward plugin_init();

/* Called when the plugin is paused. */
forward plugin_pause();

/* Called when the plugin is unpaused. */
forward plugin_unpause();

/* Called when the mod tries to change the map. */
forward server_changelevel(map[]);

/* Function is called when all plugin_init from plugins
* were called, so all commmands and cvars should be already registered. */
forward plugin_cfg();

/* Function called before plugin unloading (server deactivation) */
forward plugin_end();

/* Called on log message. */
forward plugin_log();

/* Use here model_precache() and sound_precache() functions. */
forward plugin_precache();

/* Whenever player info is changed, this function is called. */
forward client_infochanged(id);

/* Called on client connection. */
forward client_connect(id);

/* Called when client gets valid STEAM id (usually
* between client_connect() and client_putinserver()). */
forward client_authorized(id);

/* Called when client is disconnecting from server. */
forward client_disconnect(id);

/* Called when client is sending command. */
forward client_command(id);

/* Called when client is entering to a game. */
forward client_putinserver(id); 
By the way:

Native - A function that executes another function (Change users speed, health, model, damage etc..)
Forward - A function that gets called on a specific event (When you move, take damage, die etc..)
__________________
edon1337 is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 03-15-2017 , 11:33   Re: Pawn tutorial ?
Reply With Quote #6

Quote:
Originally Posted by edon1337 View Post
Wiki's arent that helpful. You can learn more by surfing the includes located in amxmodx/scripting/include folder.
But the documentation on http://amxmodx.org/api is pulled right from those include files.

Last edited by klippy; 03-15-2017 at 11:33.
klippy is offline
CreativeTR
Junior Member
Join Date: Mar 2017
Location: Turkey
Old 03-15-2017 , 11:58   Re: Pawn tutorial ?
Reply With Quote #7

Quote:
Originally Posted by Str4x3D1x View Post
Sorry...i have no idea how to put title. :/

I need someone to learn me about pawning and making plugins for cs 1.6
If someone has a will and free time, i would be really thankful.
I am new into this, and to be honest, i have no idea how to make a simple plugin. I really need help.
if you know any software language (etc. c#) or anything about functions and definations, you can learn quickly
CreativeTR is offline
Send a message via Skype™ to CreativeTR
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-16-2017 , 19:39   Re: Pawn tutorial ?
Reply With Quote #8

First you need to know what you want to do, for later study. There's no point in learning something that will not use in any way. All the codes of this forum are open, try to study them, extract only the required. Take a look also includes several commands are with comments explaining what it's for, etc. Good luck!
__________________









Last edited by CrazY.; 03-16-2017 at 19:40.
CrazY. 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 16:20.


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