Witam, chciałbym prosić o plugin VIP na DR. Ma on posiadać:
-Mniejszą grawitację
-Dostaje USP [na dr mam wyłączone dostawanie USP, myślę że da się tak zrobić.]
-Gdy wpisze się /vips pokazuje VIP'y online
-100 HP na start [mam plugin, który powoduje że każdy ma na start 35 hp]
-Dostaje wszystkie granaty
-Na flagę T
Proszę o napisanie takiego, ponieważ nie znalazłem nigdzie.
Tylko proszę o nie podawanie linków bo to nie są takie pluginy jakie ja chce.
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.
|
Guest Message by DevFuse
0
VIP - DeathRun
Temat rozp. EufooZ, 25.02.2011 22:56
1 odpowiedź w tym temacie
#1
Napisano 25.02.2011 22:56
Cs-Move.xaa.pl - JailBreak - 178.19.106.146:27092
Cs-Move.xaa.pl - PaintBall - 178.19.106.150:27088
ZAPRASZAMY SERDECZNIE
#2
Napisano 05.03.2011 20:16
Jak by nie działał to powiedz
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <cstrike>
#include <hamsandwich>
#include <fakemeta_util>
#define PLUGIN "Dr vip"
#define VERSION "1.0"
#define AUTHOR "Truposz[WWL]"
#define VIP ADMIN_LEVEL_H
new maxplayers
new gmsgSayText
static const COLOR[] = "^x04"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "przywileje", 1);
register_clcmd("say", "handle_say")
gmsgSayText = get_user_msgid("SayText")
maxplayers = get_maxplayers();
}
public przywileje(id){
if(get_user_flags(id) & VIP){
set_user_gravity (id, 0.70);
set_user_health(id, 100);
give_item(id, "weapon_hegrenade");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_flashbang");
give_item(id, "weapon_smokegrenade");
give_item(id, "weapon_usp");
give_item(id,"ammo_45acp");
give_item(id,"ammo_45acp");
give_item(id,"ammo_45acp");
give_item(id,"ammo_45acp");
}
}
public handle_say(id)
{
new said[192]
read_args(said,192)
if(( containi(said, "who") != -1 && containi(said, "admin") != -1) || contain(said, "/vips") != -1)
set_task(0.1,"print_viplist", id)
return PLUGIN_CONTINUE
}
public print_viplist(user)
{
new adminnames[33][32]
new message[256]
new id, count, x, len
for(id = 1 ; id <= maxplayers ; id++)
if(is_user_connected(id))
if(get_user_flags(id) & VIP)
get_user_name(id, adminnames[count++], 31)
len = format(message, 255, "%s VIP-y Online: ",COLOR)
if(count > 0) {
for(x = 0 ; x < count ; x++) {
len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"")
if(len > 96 ) {
print_message(user, message)
len = format(message, 255, "%s ",COLOR)
}
}
print_message(user, message)
}
else {
len += format(message[len], 255-len, "Brak VIP-ow Online.")
print_message(user, message)
}
}
print_message(id, msg[])
{
message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id)
write_byte(id)
write_string(msg)
message_end()
}