AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Starting of programming amxmodx plugins (https://forums.alliedmods.net/showthread.php?t=65141)

prodiger 01-02-2008 03:54

Starting of programming amxmodx plugins
 
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 :)

Arkshine 01-02-2008 04:05

Re: Starting of programming amxmodx plugins
 
http://wiki.alliedmods.net/Category:...ng_(AMX_Mod_X)

Sn!ff3r 01-02-2008 05:27

Re: Starting of programming amxmodx plugins
 
correct link (copy & paste)

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

prodiger 01-02-2008 05:43

Re: Starting of programming amxmodx plugins
 
#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?

Alka 01-02-2008 06:01

Re: Starting of programming amxmodx plugins
 
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);
 }
}


Sn!ff3r 01-02-2008 06:41

Re: Starting of programming amxmodx plugins
 
Read...

http://forums.alliedmods.net/showthread.php?t=4433
http://forums.alliedmods.net/showthread.php?t=232


All times are GMT -4. The time now is 11:09.

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