hirowatch
Живет ХЛмод`ом
- Сообщения
- 2,722
- Реакции
- 1,634
1 Извиняюсь не MOD окно а MOTD окно браузера. На таком принципе построен плагин изменения рейтов.@Anrikon, вопросики:
1) что такое «MOD окно»?
2) выполняла где (кстати квар не применяют - это не команда)?
Хз эксплойт или лазейка но Rate Enforcer так и работает и плюс я на сервере видел приватку или велик сам сделал похожий плагин. Ток делится и продавать не хочет.@Anrikon, первый раз слышу, чтобы в v34 требовалось использовать MotD, для выполнения клиентских команд или изменения клиентских кваров от имени игрока.
Там эксплойт какой-то, что ли?
Что блин, что?я на сервере видел приватку или велик сам сделал похожий плагин.
На сервере стоят скины кастомные.Что блин, что?
hMenu.ExitBackButton = true;
case MenuAction_Cancel:
{
if(param2 == MenuCancel_ExitBack)
{
// code here
}
}
В нём нет выбора флагов. У меня випам присвоены флаги, соответственно в меню будут отображаться тожеp.s.s: чем Admin List не устраивает?
public void OnPluginStart()
{
CreateTimer(1.0, Timeleft, _, TIMER_REPEAT);
}
public Action Timeleft(Handle timer)
{
char time[60];
int iTimeleft;
GetMapTimeLeft(iTimeleft);
FormatTime(time, sizeof(time), "%M:%S", iTimeleft);
for(int i = 1; i <= MaxClients; i++)
{
if(IsClientInGame(i) && !IsFakeClient(i))
{
char message[60];
Format(message, sizeof(message), "timeleft: %s", time);
SetHudTextParams(-1.0, 1.00, 1.0, 2, 255, 255, 255, 0);
ShowHudText(i, -1, message);
}
}
return Plugin_Continue;
}
РГБ 255, 255, 255Подскажите как правильно поправить цвет с синего на белый, и как уменьшить размер текста надо чуток уменьшить его.C-подобный:public void OnPluginStart() { CreateTimer(1.0, Timeleft, _, TIMER_REPEAT); } public Action Timeleft(Handle timer) { char time[60]; int iTimeleft; GetMapTimeLeft(iTimeleft); FormatTime(time, sizeof(time), "%M:%S", iTimeleft); for(int i = 1; i <= MaxClients; i++) { if(IsClientInGame(i) && !IsFakeClient(i)) { char message[60]; Format(message, sizeof(message), "timeleft: %s", time); SetHudTextParams(-1.0, 1.00, 1.0, 2, 255, 255, 255, 0); ShowHudText(i, -1, message); } } return Plugin_Continue; }
Всё равно цвет не поменялсяРГБ 255, 255, 255
Шрифт только на стороне клиента
Подскажите как правильно поправить цвет с синего на белый, и как уменьшить размер текста надо чуток уменьшить его.C-подобный:public void OnPluginStart() { CreateTimer(1.0, Timeleft, _, TIMER_REPEAT); } public Action Timeleft(Handle timer) { char time[60]; int iTimeleft; GetMapTimeLeft(iTimeleft); FormatTime(time, sizeof(time), "%M:%S", iTimeleft); for(int i = 1; i <= MaxClients; i++) { if(IsClientInGame(i) && !IsFakeClient(i)) { char message[60]; Format(message, sizeof(message), "timeleft: %s", time); SetHudTextParams(-1.0, 1.00, 1.0, 2, 255, 255, 255, 0); ShowHudText(i, -1, message); } } return Plugin_Continue; }
void SetHudTextParams(float x, float y, float holdTime, int r, int g, int b, int a, int effect, float fxTime, float fadeIn, float fadeOut)
Parameters
float x
x coordinate, from 0 to 1. -1.0 is the center.
float y
y coordinate, from 0 to 1. -1.0 is the center.
float holdTime
Number of seconds to hold the text.
int r
Red color value.
int g
Green color value.
int b
Blue color value.
int a
Alpha transparency value.
int effect
0/1 causes the text to fade in and fade out. 2 causes the text to flash[?].
float fxTime
Duration of chosen effect (may not apply to all effects).
float fadeIn
Number of seconds to spend fading in.
float fadeOut
Number of seconds to spend fading out.
Помогите пожалуйста убрать звук револьвера из этого плагина.