User
Pass
2FA
 
 

Plugin de sarbatori ( daca mai raspundeti )

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources
Author Message1305
Djinn
[Banned user]


Banned


Status: Offline
(since 18-05-2009 20:58)
Joined: 09 Oct 2008
Posts: 43, Topics: 25
Location: Spain

Reputation: 93.3
Votes: 4

Post Posted: 11-12-2008, 20:27:21 | Translate post to: ... (Click for more languages)

Salut , as vrea si eo ca acest plugin ... sa nu dispara imediat...deci sa dureze de cand tastezi
/admin , /admins sau /admini sa dureze cam...30 de secunde , poate si mai mult
Caci acum dispare la orice mesaj care apare
Va rog sa ma ajutati !



Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Amx Who Nou"
#define VERSION "1.0"
#define AUTHOR "KronoS"

#define CharsMax(%1) sizeof %1 - 1

#define MAX_GROUPS 9

new g_groupNames[MAX_GROUPS][] =
{

"[1] OwNer [1]",
"[2]S-OwNeR[2]",
"[3] God'z [3]",
"[4]S-God'z[4]",
"[5] MoDeR [5]",
"[6] Admin [6]",
"[7]S-Admin[7]",
"[8] HeLp [8]",
"[9] sLoT [9]"
}

new g_groupFlags[MAX_GROUPS][] =
{

"abcdefghijklmnopqrstu",
"abcdefghijklmnopqrst",
"bcdefghijklmnopqrst",
"bcdefgijkmnopqrstu",
"bcdefijmnopqrstu",
"bcedfijkmnopqrst",
"bcefijmnopqrst",
"befgijmnopqrst",
"bi"
}

new g_groupFlagsValue[MAX_GROUPS];
static const site[] = ""

public plugin_init()
{

register_plugin(PLUGIN, VERSION, AUTHOR);
for(new i = 0; i < MAX_GROUPS; i++)
g_groupFlagsValue[i] = read_flags(g_groupFlags[i]);
register_clcmd("say /admin", "cmdWho", -1, "");
register_clcmd("say /admins", "cmdWho", -1, "");
register_clcmd("say /admini", "cmdWho", -1, "");
}


public cmdWho(id)
{

static sPlayers[32], iNum, iPlayer;
static sName[32], sBuffer[1024];

static iLen;
iLen = formatex(sBuffer, sizeof sBuffer - 1, " ");
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen,"Admini Online^n^n");

get_players(sPlayers, iNum, "ch");

for(new i = 0; i < MAX_GROUPS; i++)
{

iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "-= %s =-^n", g_groupNames[i]);

for(new x = 0; x < iNum; x++)
{

iPlayer = sPlayers[x];

if(get_user_flags(iPlayer) == g_groupFlagsValue[i])
{

get_user_name(iPlayer, sName, sizeof sName - 1);
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "%s^n", sName);

}
}
}

set_hudmessage(0, 255, 0, 0.02, 0.20, 0, 6.0, 10.0)
show_hudmessage(id, sBuffer)
return PLUGIN_HANDLED;

}



Ms anticipat

0 0
  
Back to top
View user's profile Send private message
Shocker

[Freakz owner]



Status: Offline
(since 08-02-2020 12:17)
Joined: Momentul zero
Posts: 33986, Topics: 1350
Location: localhost

Reputation: 6485.6
Votes: 829

   
Post Posted: 11-12-2008, 20:31:05 | Translate post to: ... (Click for more languages)

Ia incearca in loc de
Code:

set_hudmessage(0, 255, 0, 0.02, 0.20, 0, 6.0, 10.0)

sa pui
Code:

set_hudmessage(0, 255, 0, 0.02, 0.20, 0, 6.0, 30.0)


FREAKZ COMMUNITY @ Facebook
WOW FREAKZ @ Facebook
0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore




 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources  


The time now is 28-07-2025, 17:42:02
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password