Raised This Month: $ Target: $400
 0% 

Starting of programming amxmodx plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
prodiger
New Member
Join Date: Jan 2008
Location: Lithuania, Kaunas
Old 01-02-2008 , 03:54   Starting of programming amxmodx plugins
Reply With Quote #1

How i can start programming amxmodx plugins? I don't know anything about that. Who can tell me something about that? I will be very happy, if anyone help me
__________________
I can program PHP for food
prodiger is offline
Send a message via Skype™ to prodiger
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-02-2008 , 04:05   Re: Starting of programming amxmodx plugins
Reply With Quote #2

http://wiki.alliedmods.net/Category:...ng_(AMX_Mod_X)
__________________

Last edited by Arkshine; 01-02-2008 at 05:38. Reason: Correct link
Arkshine is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-02-2008 , 05:27   Re: Starting of programming amxmodx plugins
Reply With Quote #3

correct link (copy & paste)

Functions -> http://amxmodx.org/funcwiki.php

Last edited by Sn!ff3r; 01-02-2008 at 05:29.
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
prodiger
New Member
Join Date: Jan 2008
Location: Lithuania, Kaunas
Old 01-02-2008 , 05:43   Re: Starting of programming amxmodx plugins
Reply With Quote #4

#include <amxmodx>

public plugin_init()
{
register_clcmd("say hello", "labas", 0, "- says hello ");
}

public labas(id)
{
new admin
admin = is_user_admin(id)
client_print(0, print_center, "%d admin %d", id, admin);
}

what bad with this?
__________________
I can program PHP for food
prodiger is offline
Send a message via Skype™ to prodiger
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 01-02-2008 , 06:01   Re: Starting of programming amxmodx plugins
Reply With Quote #5

Something like

Code:
#include <amxmodx>
#include <amxmisc>
 
public plugin_init()
{
 register_clcmd("say hello", "labas", 0, "- says hello ");
}
 
public labas(id)
{
 if(is_user_admin(id))
 {
  new name[32];
  get_user_name(id, name, sizeof name - 1);
  
  client_print(0, print_center, "%d admin %s", id, name);
 }
}
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-02-2008 , 06:41   Re: Starting of programming amxmodx plugins
Reply With Quote #6

Read...

http://forums.alliedmods.net/showthread.php?t=4433
http://forums.alliedmods.net/showthread.php?t=232
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
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 11:09.


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