Raised This Month: $ Target: $400
 0% 

Help


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-20-2009 , 08:36   Re: Help
#1

PHP Code:
#include <amxmodx>

public plugin_init() {
    
register_clcmd("say /admin","cmdShowmyName");
}

public 
cmdShowmyNameid ) {
    new 
szName[32];
    
get_user_name(idszName31);
    
    if( 
get_user_flags(id) & ADMIN_BAN )
        
client_print(0print_chat"* Your name is %s, and you are admin."szName);
    else
        
client_print(0print_chat"* Your name is %s."szName);

__________________
xPaw is offline
Touho
Junior Member
Join Date: Jan 2009
Old 01-20-2009 , 08:52   Re: Help
#2

Thanks but i dont need that. How i can save ianglowz`s source code to amxx?
Touho is offline
ianglowz
Senior Member
Join Date: Nov 2008
Old 01-20-2009 , 09:16   Re: Help
#3

Quote:
Originally Posted by Touho View Post
Thanks but i dont need that. How i can save ianglowz`s source code to amxx?
My code was a ammx.
__________________
~ +karma to me and leave your name. ~
~ If you -karma to me,please leave your name so I know you are pro scripter. ~
~ Helping anytime ~


ianglowz is offline
Touho
Junior Member
Join Date: Jan 2009
Old 01-20-2009 , 09:28   Re: Help
#4

Quote:
Originally Posted by ianglowz View Post
My code was a ammx.
I tried edit it, but how i can compile it again to ammx? I want edit it, that it says after /admin "Admins: Touho".
Touho is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-20-2009 , 10:37   Re: Help
#5

@ianglowz: He wants to know how to compile the code.

@Touho: While in the AMXX-Studio, press F12(or go to tools -> settings), on the left you'll see "Compiler" and below it says "Compiler Settings". Click it once, and near the first line(where it says: "Compiler") there's a browse button("..."). Click it and go to cstrike(or whatever)/addons/amxmodx/scripting and double click on amxxpc.exe.
After that, if you want, you can click on the "..." next to the second line and choose where you want the compiled plugins to go to.

I hope you know how to add plugins to the server.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-20-2009 , 12:14   Re: Help
#6

1. As per the Global Forum Rules, your topic title must be descriptive.

2. This plugin has been made before on these forums. Search.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Closed Thread



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 01:55.


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