Raised This Month: $ Target: $400
 0% 

Starting learning pawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Tomusaki
Junior Member
Join Date: Nov 2011
Old 11-08-2011 , 13:49   Starting learning pawn
Reply With Quote #1

Hello all!,
I'm a new guy in here and in "pawn" scripting, so after ~1h. checking other plugins source code i desided to do my first motd plugin, i did not tested it, so i think you can help me to learn pawn faster by telling me what i'm doing wrong, and how to do that.
Thank you!

P.S. Sorry for my bad English

EDIT: I forgot to add source code :O

Code:
#include <amxmodx.inc>
#define PLUGIN "first motd"
#define VERSION "0.1"
#define AUTHOR "Me"
public plugin_init()
{
  register_plugin(PLUGIN, VERSION, AUTHOR)
  register_clcmd("say /motd", "say motd")
}
public show_motd(id, "motd.txt", "My first motd")

Last edited by Tomusaki; 11-08-2011 at 13:52.
Tomusaki is offline
 


Thread Tools
Display Modes

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 14:26.


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