Tab Slot/Admin

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
User avatar
ehLo
Membru, skill +1
Membru, skill +1
Posts: 225
Joined: 31 May 2013, 10:23
Detinator Steam: Da
SteamID: ehLo22
Location: Valcea
Has thanked: 44 times
Been thanked: 20 times
Contact:

10 Apr 2014, 18:25

Descriere plugin cerut: Deci doresc un plugin sa imi arate cand dau TAB in loc de DEAD sa apara daca are admin sa apara ADMIN iar daca are slot sa apara SLOT.
Alte informatii:
1. La admin sa apara cand are "b si c"
2. Iar la slot sa apara cand are doar "b"
Respectul nu se impune, se castiga
IG-BOOST.org - Instagram Followers Best, Cheap, Reliable
Cosmin
Fost moderator
Fost moderator
Posts: 9526
Joined: 06 Jul 2013, 21:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 568 times
Been thanked: 587 times

10 Apr 2014, 18:32

Nu se poate asa ceva :) .
User avatar
HamletEagle
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 751
Joined: 21 Sep 2013, 14:05
Detinator Steam: Da
CS Status: Inactiv cateva zile.
SteamID: privat
Reputatie: Scripter eXtreamCS.com
Fost Moderator ajutator
Has thanked: 20 times
Been thanked: 85 times

10 Apr 2014, 18:36

Acest tag o sa fie vazut doar de echipa CT,insa el apare la ambele echipa.

Code: Select all

#include < amxmodx >

#define VIP  ( 1 << 2 )
#define DEAD    ( 1 << 0 )

public plugin_init( ) {
	register_plugin( "VIP Tag", "0.0.1", "Exolent & Modified by Hamlet" );
	
	register_message( get_user_msgid( "ScoreAttrib" ), "MessageScoreAttrib" );
}

public MessageScoreAttrib( iMsgID, iDest, iReceiver ) {
	new id = get_msg_arg_int( 1 );
	
	if(is_user_connected( id ) && get_user_flags( id) & ADMIN_RESERVATION ) {
		set_msg_arg_int( 2, ARG_BYTE, is_user_alive( id ) ? VIP : DEAD );
	}
}

In loc de DEAD nu poti face sa apara ADMIN....
Daca vreti ajutorul meu, nu dati bump la topic, fara intrebari de genu "cat mai dureaza/mai astept mult?".
User avatar
ehLo
Membru, skill +1
Membru, skill +1
Posts: 225
Joined: 31 May 2013, 10:23
Detinator Steam: Da
SteamID: ehLo22
Location: Valcea
Has thanked: 44 times
Been thanked: 20 times
Contact:

12 Apr 2014, 15:40

m-am explimat eu gresit doaresc sa apare ADMIN sau SLOT doar cand este in VIATA
Respectul nu se impune, se castiga
Cosmin
Fost moderator
Fost moderator
Posts: 9526
Joined: 06 Jul 2013, 21:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 568 times
Been thanked: 587 times

12 Apr 2014, 16:14

tot nu inteleg,explica mai bine..
User avatar
Ulquiorra
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2088
Joined: 25 Jul 2010, 16:29
Detinator Steam: Da
CS Status: A mai trecut o zi asteptand una mai buna
Detinator server CS: Retras.
SteamID: STEAM_0:1:318247XX
Reputatie: Scripter eXtreamCS
Nick anterior: sPuf ?, a^ml), Loca Tapioca, Askhanar
Fost Moderator ajutator
Location: Braila, Romania.
Has thanked: 214 times
Been thanked: 1140 times
Contact:

12 Apr 2014, 16:44

nu se poate pune decat VIP.
""Copilarie, iarta-ma c-am vrut sa fiu om mare.. ""
TrrrQ
Fost moderator
Fost moderator
Posts: 2800
Joined: 04 Feb 2013, 00:31
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (3 luni)
Restrictie moderator!
Unban achitat (x2)
Fost moderator
Fond eXtream: 8
Has thanked: 134 times
Been thanked: 75 times
Contact:

13 Apr 2014, 01:31

Askhanar , dă-mi te rog şi mie pentru VIP.
Am tot băgat şi de pe allied dar nu rămâne VIP in scoreboard permanent , ba apare , ba nu apare
Filme Online Subtitrate (Doar o singură reclamă obligatorie de la player): https://filmeonline-hd.com
User avatar
Ulquiorra
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2088
Joined: 25 Jul 2010, 16:29
Detinator Steam: Da
CS Status: A mai trecut o zi asteptand una mai buna
Detinator server CS: Retras.
SteamID: STEAM_0:1:318247XX
Reputatie: Scripter eXtreamCS
Nick anterior: sPuf ?, a^ml), Loca Tapioca, Askhanar
Fost Moderator ajutator
Location: Braila, Romania.
Has thanked: 214 times
Been thanked: 1140 times
Contact:

13 Apr 2014, 01:35

| Afiseaza codul
//* Plugin generated by AMXX-Studio */

	#include < amxmodx >
	//#include < amxmisc >
	//#include < cstrike >
	//#include < engine >
	//#include < fakemeta >
	//#include < hamsandwich >
	
	
	#pragma semicolon 1
	
	#define VIP_ACCESS	"y"
	
	new const
		PLUGIN_NAME[ ] 		= "VIP ScoreBoard",
		PLUGIN_VERSION[ ] 	= "1.0";
	
		
		
				
public plugin_init( )
{
	register_plugin
	(
		PLUGIN_NAME,
		PLUGIN_VERSION,
		"Askhanar"
	);
	
	
	register_message( get_user_msgid( "ScoreAttrib" ) , "message_ScoreAttrib" );
	// Add your code here...
}

public message_ScoreAttrib( iMsgID, iDest, iReceiver )
{
	
	static iPlayer;	iPlayer = get_msg_arg_int( 1 );
	
	if( is_user_alive( iPlayer ) && ( get_user_flags( iPlayer ) & read_flags( VIP_ACCESS ) ) )
	{
		set_msg_arg_int( 2, ARG_BYTE, ( 1 << 2 ) );
	}
}
""Copilarie, iarta-ma c-am vrut sa fiu om mare.. ""
User avatar
HamletEagle
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 751
Joined: 21 Sep 2013, 14:05
Detinator Steam: Da
CS Status: Inactiv cateva zile.
SteamID: privat
Reputatie: Scripter eXtreamCS.com
Fost Moderator ajutator
Has thanked: 20 times
Been thanked: 85 times

13 Apr 2014, 09:23

Hmm,nu vezi mai sus ca i-am facut o versiune pentru vip ?
| Afiseaza codul
#include < amxmodx >

#define VIP  ( 1 << 2 )
#define DEAD    ( 1 << 0 )

public plugin_init( ) {
   register_plugin( "VIP Tag", "0.0.1", "Exolent & Modified by Hamlet" );
   
   register_message( get_user_msgid( "ScoreAttrib" ), "MessageScoreAttrib" );
}

public MessageScoreAttrib( iMsgID, iDest, iReceiver ) {
   new id = get_msg_arg_int( 1 );
   
   if(is_user_connected( id ) && get_user_flags( id) & ADMIN_RESERVATION ) {
      set_msg_arg_int( 2, ARG_BYTE, is_user_alive( id ) ? VIP : DEAD );
   }
}
Daca e mort o sa apara DEAD iar daca e alive o sa apara VIP.
Daca vreti ajutorul meu, nu dati bump la topic, fara intrebari de genu "cat mai dureaza/mai astept mult?".
TrrrQ
Fost moderator
Fost moderator
Posts: 2800
Joined: 04 Feb 2013, 00:31
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (3 luni)
Restrictie moderator!
Unban achitat (x2)
Fost moderator
Fond eXtream: 8
Has thanked: 134 times
Been thanked: 75 times
Contact:

13 Apr 2014, 09:32

Mersi mult Askhanar , doamne , cât am căutat
Filme Online Subtitrate (Doar o singură reclamă obligatorie de la player): https://filmeonline-hd.com
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests