http://amxx.pl/kompi..._flashbangi.sma
Prawy górny róg --> Kompiluj - przenosi na stronę główną kompilatora i nie kompiluje sma na amxx
To równanie zostało stworzone przy pomocy kodu LaTeX:
Edytor LaTeX online: CodeCogs.com/latex/eqneditor.php
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.
|
Napisane przez Engi
w 30.11.2013 11:09
http://amxx.pl/kompi..._flashbangi.sma
Prawy górny róg --> Kompiluj - przenosi na stronę główną kompilatora i nie kompiluje sma na amxx
Napisane przez
Gość
w 18.12.2012 13:50
/* Plugin generated by AMXX-Studio */Polecam zapoznanie się z indentacją kodu.
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "hubert"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say_team", "zobacz");
}
public zobacz(id){
new said[2]
read_argv(1, said, 1)
if (said[0] != '@')
return PLUGIN_CONTINUE
for(new i=1; i<=get_playersnum(); i++){
if(is_user_connected(i) && has_flags(i, "i")){
client_cmd(i, "spk sound/misc/admin");
}
}
return PLUGIN_CONTINUE
}
public has_flags(id,string[])
{
new ret=1
new byte
new len = strlen(string)
new p_flag = get_user_flags(id)
for(new i=0;i<=len;i++)
{
if(string[i]>='a' && string[i]<='z') byte = (1<<(string[i]-'a'))
else if(string[i]>='A' && string[i]<='Z') byte = (1<<(string[i]-'A'))
else if(string[i]==',' && ret==1) return 1
else if(string[i]==',') ret=1
if(byte!=0 && !(p_flag & byte)) ret=0
byte=0
}
return ret
}
public plugin_precache()
{
precache_sound("misc/admin.va");
}
Napisane przez
Gość
w 17.11.2012 19:54
Napisane przez glut
w 22.09.2012 07:03
#include <amxmodx> #include <fun> #define PLUGIN "Spped" #define VERSION "1.0" #define AUTHOR "glut" new ft_vipa; new ft_gracza; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_logevent("Round_Start",2,"1=Round_Start"); ft_vipa = register_cvar("ft_vipa","3") ft_gracza = register_cvar("ft_gracza","5") } public Round_Start() { for (new id=1; id < 33; id++) { if(is_user_alive(id)) { if(get_user_flags(id) & ADMIN_LEVEL_H) { set_user_maxspeed (id,0.1) set_task(get_pcvar_float(ft_vipa),"zmien_speeda",id,_,_,"a",1) } else { set_user_maxspeed (id,0.1) set_task(get_pcvar_float(ft_gracza),"zmien_speeda_gracza",id,_,_,"a",1) } } } } public zmien_speeda(id) { set_user_maxspeed(id,-1.0) } public zmien_speeda_gracza(id) { set_user_maxspeed(id,-1.0) }
ft_vipa "3" // czas ft vipa ft_gracza "5" // czas ft gracza
Napisane przez
AztekHQS
w 22.09.2012 11:48
#include <amxmodx>
#include <hamsandwich>
#include <fun>
#define VIP ADMIN_LEVEL_H
public plugin_init() {
register_plugin("VIP FreezeTime", "1.0", "AztekHQS")
register_cvar("amx_vip_ft", "5")
RegisterHam(Ham_Spawn, "player", "Resp", 1)
}
public Resp(id) {
if(!is_user_alive(id) || !(get_user_flags(id) & VIP)) return PLUGIN_CONTINUE
set_user_maxspeed(id, 0.1)
set_task(get_cvar_float("amx_vip_ft"), "Zmien", id)
return PLUGIN_CONTINUE
}
public Zmien(id) set_user_maxspeed(id, 250.0)
amx_vip_ft "5" // czas freezetime vipa
Napisane przez
AztekHQS
w 21.09.2012 22:51
round_start jest po freezetime ...register_logevent("Round_Start",2,"1=Round_Start")
Napisane przez glut
w 21.09.2012 15:36
ft_vipa "3"
#include <amxmodx>
#include <fun>
#define PLUGIN "Spped"
#define VERSION "1.0"
#define AUTHOR "glut"
new ft_vipa
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("Round_Start",2,"1=Round_Start");
ft_vipa = register_cvar("ft_vipa","3")
}
public Round_Start()
{
for (new id=1; id < 33; id++)
{
if(is_user_alive(id) && get_user_flags(id) & ADMIN_LEVEL_H)
{
set_user_maxspeed (id,0.1)
set_task(get_pcvar_float(ft_vipa),"zmien_speeda",id,_,_,"a",1)
}
}
}
public zmien_speeda(id)
{
set_user_maxspeed(id,-1.0)
}
Napisane przez glut
w 21.09.2012 15:14
set_user_maxspeed (id,0.1)
#include <amxmodx>
#include <fun>
#define PLUGIN "Spped"
#define VERSION "1.0"
#define AUTHOR "glut"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("Round_Start",2,"1=Round_Start");
}
public Round_Start()
{
for (new id=1; id < 33; id++)
{
if(is_user_alive(id) && get_user_flags(id) & ADMIN_LEVEL_H)
{
set_user_maxspeed (id,0.1)
set_task(5.0,"zmien_speeda",id,_,_,"a",1)
}
}
}
public zmien_speeda(id)
{
set_user_maxspeed(id,-1.0)
}
Napisane przez
Gość
w 03.09.2012 08:33
Napisane przez
Pawlak093
w 30.08.2012 18:46
Napisane przez
Pawlak093
w 03.04.2010 07:04
Napisane przez K!113r
w 29.08.2012 16:11
Napisane przez sNH.
w 29.08.2012 15:54
Napisane przez glut
w 27.08.2012 08:53
#include <amxmodx>
#include <amxmisc>
#define MAX_SONGS 20
new gDir[MAX_SONGS][32];
new file[] = "addons/amxmodx/configs/loadmusic.ini";
public plugin_init()
{
register_plugin("Loading Music","0.1","tomcionek15 & grs4");
}
new num;
public plugin_precache()
{
new len, arg[32], szDir[64];
for(new i; read_file(file, i, arg, charsmax(arg),len);i++)
{
remove_quotes(arg);
copy(gDir[i], charsmax(arg), arg);
formatex(szDir, charsmax(szDir), "sound/misc/%s", gDir[i]);
num++
precache_generic(szDir);
}
}
public client_connect(id)
{
new rand = random(num);
client_cmd(id, "mp3 play sound/misc/%s", gDir[rand]);
}
Napisane przez
GT Team
w 26.08.2012 21:59
#include
#include
#define MAX_SONGS 20
new gDir[MAX_SONGS][32];
new file[] = "addons/amxmodx/configs/loadmusic.ini";
public plugin_init()
{
register_plugin("Loading Music","0.1","tomcionek15 & grs4");
}
new num;
public plugin_precache()
{
new len, arg[32], szDir[64];
for(new i; read_file(file, i, arg, charsmax(arg),len);i++)
{
remove_quotes(arg);
copy(gDir[i], charsmax(arg), arg);
formatex(szDir, charsmax(szDir), "sound/misc/%s", gDir[i]);
num++
precache_generic(szDir);
}
}
public client_connect(id)
{
new rand = random(num);
client_cmd(id, "mp3 play sound/misc/%s", gDir[rand]);
}