Jump to content

Recommended Posts

1. Nume plugin: Welcome Message (chat) + rank
2. Autor & Versiune: Hisoka / 1.0
3. Comenzi: - 
4. Cvar: -
5. Alte detalii: Acest plugin va afisa in chat un mesaj specific fiecarui jucator care se conecteaza (doar jucatorului), mesajul se poate modifica (default: welcome + rank).
6. Link download:

#include <amxmodx>
#include <amxmisc>
#include < csx >
#include <ColorChat>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Hisoka"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
}
public client_putinserver(id)
{
	if(!is_user_bot(id) && is_user_connected(id))
		set_task(3.0,"message",id)
}
public message(id)
{
	new name[33]
	new stats[8]
	new body[8]
	new rank_pos = get_user_stats( id, stats, body )
	new rank_max = get_statsnum( )
	
	get_user_name(id,name,charsmax(name))
	ColorChat(id,NORMAL,"^4[SG] ^3Welcome ^1%s ^3To our server ^4Your Rank is %d from %d ",name,rank_pos, rank_max )
	
	client_cmd(id,"spk ^"hello^"")
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/


7. Poze:
XsvxdsP.jpg


Link-uri utile, nu ezita sa le folosesti! 😁
Counter-Strike 1.6 (AMXX) Support - click aici

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...