Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
[ROZWIĄZANE] Szukam pluginu na DEATHRUNA
#1
Posted 03.03.2013 19:41
"Nazwa gracza" włączył pułapkę w CT czy soc w tym stylu.
#2
Posted 04.03.2013 21:38
#3
Posted 12.03.2013 18:34
#4
Posted 18.03.2013 22:35
#5
Posted 18.03.2013 22:53
Pokazuje wszystkim o pułapce
Attached Files
Edited by MarViner, 18.03.2013 22:54.
#6
Posted 18.03.2013 22:54
#include <amxmodx>
#include <hamsandwich>
public plugin_init() {
register_plugin("Use Trap Info Admin", "0.1", "AztekHQS");
RegisterHam(Ham_Use, "func_button", "UseTrap");
}
public UseTrap(ent, id, activator, iType, Float:fValue) {
if(!is_user_alive(id) || get_user_team(id) != 1 || id == activator) return 1;
new nick[64]; get_user_name(id, nick, 63);
for(new i = 1; i <= 32; i++) {
if(!is_user_connected(i) || !(get_user_flags(i) & 8)) continue;
client_print(i, 3, "Gracz %s uzyl pulapki!", nick);
}
return 1;
}
IP: 31.186.83.208:27043
#8
Posted 21.03.2013 00:32
RegisterHam(Ham_Use, "func_button", "UseTrap");
na:
RegisterHam(Ham_Use, "func_button", "UseTrap", 1);
IP: 31.186.83.208:27043
#10
Posted 21.03.2013 19:51
IP: 31.186.83.208:27043
#11
Posted 21.03.2013 19:55
/* Plugin generated by AMXX-Studio */ #include #include #include #include #include #define PLUGIN "pulapka" #define VERSION "1.0" #define AUTHOR "Sn!ff3r" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_Use, "func_button", "cl_use", 1) } public cl_use(ent, id) { if( is_user_alive ( id ) && get_user_team ( id ) == 2 ) { new name[ 33 ] get_user_name( id, name, 32 ) if(is_user_connected(id) && get_user_flags(id) & ADMIN_LEVEL_H){ ColorChat( 0, RED, "[link] ^x01Gracz ^x03%s ^x01Włączył pułapke!", name ) } } }
Powinno wyświetlać graczowi z flagą ADMIN_LEVEL_H
#12
Posted 21.03.2013 23:09
#13
Posted 21.03.2013 23:26
Wiadomość wyświetli osobie z ID która wciska przycisk.
IP: 31.186.83.208:27043
#14
Posted 22.03.2013 07:22
http://amxx.pl/wklej...36393338132108/
Edited by MrBombastic, 22.03.2013 07:23.
#15
Posted 23.03.2013 02:00
#16
Posted 25.03.2013 20:17
#17
Posted 30.03.2013 00:15
#18
Posted 01.04.2013 14:52
#19
Posted 08.04.2013 21:46
#20
Posted 08.04.2013 21:59
Moja
sygnatura
ma
aż
sześć
linii.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users