User
Pass
2FA
 
 

[rezolvat]Cerere plugin [JB]

 
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) -> Plugins - Help / Support
Author Message726
Codrin Bradea

[Mentally Stable]



Status: Offline
(since 30-03-2015 15:58)
Joined: 01 Sep 2014
Posts: 63, Topics: 30
Location: Oradea

Reputation: -84.9
Votes: 6

       
Post Posted: 10-01-2015, 17:58:26 | Translate post to: ... (Click for more languages)

Salut , as vreasi eu plugin sau sursa pentru:
Cand un Admin/Helper o sa dea jbe_box,jbe_nomic,jbe_open sa apara asa

[*] Adminul %s a folosit comanda jbe_box.
Multumesc!

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
lemonEZAH

[Licensed to kill]



Status: Offline
(since 04-11-2019 15:30)
Joined: 28 Dec 2013
Posts: 7058, Topics: 351
Location: England

Reputation: 99.3
Votes: 483

Post Posted: 10-01-2015, 20:26:48 | Translate post to: ... (Click for more languages)

Quote:
#include <amxmodx>
#include <amxmisc>

#define Server "JB.bla.RO"


#define PLUGIN "new plugin"
#define VERSION "1.0"
#define AUTHOR "Freakz.Ro"

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

// Add your code here...

register_clcmd("jbe_nomic","nomic")
register_clcmd("jbe_box","box")
register_clcmd("jbe_open","open")

}
public nomic(id)
{
new caca[32];
get_user_name( id, caca, charsmax( caca ) );
ColorChat(0, "!t%s!g !tAdminul %s!g a folosit comanda jbe_nomic", Server,caca);
}

public box(id)
{
new caca[32];
get_user_name( id, caca, charsmax( caca ) );
ColorChat(0, "!t%s!g !tAdminul %s!g a folosit comanda jbe_box", Server,caca);
}

public open(id)
{
new caca[32];
get_user_name( id, caca, charsmax( caca ) );
ColorChat(0, "!t%s!g !tAdminul %s!g a folosit comanda jbe_box", Server,caca);
}

stock ColorChat(const id, const input[], any:...) {
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);

replace_all(msg, 190, "!g", "^4");
replace_all(msg, 190, "!y", "^1");
replace_all(msg, 190, "!t", "^3");

if(id) players[0] = id;
else get_players(players, count, "ch"); {
for(new i = 0; i < count; i++) {
if(is_user_connected(players[i])) {
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}

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

[Mentally Stable]



Status: Offline
(since 30-03-2015 15:58)
Joined: 01 Sep 2014
Posts: 63, Topics: 30
Location: Oradea

Reputation: -84.9
Votes: 6

       
Post Posted: 11-01-2015, 18:03:40 | Translate post to: ... (Click for more languages)

Multumesc , T.C va rog
0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID

  Topic locked


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

Locked by -P!C@-, 11 January 2015 16:32



 
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) -> Plugins - Help / Support  


The time now is 30-05-2024, 03:00:32
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password