Raised This Month: $ Target: $400
 0% 

how to get server name,map,player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 06-27-2012 , 10:31   Re: how to get server name,map,player
Reply With Quote #2

What do you say lol ?

I give you an example to have a player name :
Code:
#include < amxmodx > public plugin_init( ) {     register_plugin( "test" , "1.0" , "Aooka" );         register_clcmd( "say /name" , "CmdName" ); } public CmdName( const id ) {     new szName[ 32 ];         get_user_name( id , szName , 31 );         client_print( id , print_chat , "My name is : %s" , szName ); }

For the name of a map use it : http://www.amxmodx.org/funcwiki.php?go=func&id=244

For the server name good question ^^
__________________
Pawn ? Useless

Last edited by Aooka; 06-27-2012 at 10:31.
Aooka is offline
 



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 06:19.


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