uite crizzatu ce apare eroare
screencapture
CERERE PLUGIN !
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
Forum rules
Accesează link-ul pentru a putea vedea regulile forumului
Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Accesează link-ul pentru a putea vedea regulile forumului
Daca doriti sa vi se modifice un plugin, va rugam postati aici .
- KrAiD.
- Fost moderator
- Posts: 866
- Joined: 15 Jun 2013, 12:14
- Detinator Steam: Da
- CS Status: Cat de cat activ :D
- Detinator server CS: Nu
- Reputatie: Fost Moderator ajutator
0.7 / 3 - Has thanked: 14 times
- Been thanked: 131 times
- Contact:
Last edited by munir on 26 Jun 2013, 21:59, edited 1 time in total.
Reason: E din cauza la cum sunt asezate { / functiile pe linii.
Reason: E din cauza la cum sunt asezate { / functiile pe linii.
-
- Membru, skill 0
- Posts: 21
- Joined: 07 Jan 2011, 14:28
- Detinator Steam: Da
- CS Status: Citesc forumul eXtreamCS.com!
- Contact:
Aceea este o eroare de aranjare =)) Nu cred ca deranjeaza cu nimic dar uite :D
Code: Select all
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Give ALL VIP"
#define VERSION "1.0"
#define AUTHOR "Crizzatu"
#define VALL_PREFIX "VipALL" // Prefix :D
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /giveallvip", "VIPALL")
register_clcmd("say /offvip", "VIPALLOFF")
register_clcmd("amx_giveallvip", "VIPALL")
register_clcmd("amx_offvipall", "VIPALLOFF")
}
public VIPALL(id)
{
new iPlayers[32],iNum,Players;
get_players(iPlayers,iNum,"ch");
if(get_user_flags(id) & ADMIN_RCON) // Schimbi tu dupa PREFERINTE :D
{
ChatColor(id, "!g[%s] !team[%s] !ya !gACTIVAT VIP !ypentru !gTOTI JUCATORII", VALL_PREFIX)
for(new i;i < iNum;i++)
{
Players = iPlayers[i];
if(access(Players,ADMIN_SLAY)) continue;
for(new Players = 0; Players <= get_maxplayers(); Players++)
{
new flags = read_flags("t");
set_user_flags(Players,flags);
}
}
}
return PLUGIN_CONTINUE
}
public VIPALLOFF(id)
{
new iPlayers[32],iNum,Players;
get_players(iPlayers,iNum,"ch");
if(get_user_flags(id) & ADMIN_RCON) // Schimbi tu dupa PREFERINTE :D
{
ChatColor(id, "!g[%s] !team[%s] !ya !gDEZACTIVAT VIP !ypentru !gTOTI JUCATORII", VALL_PREFIX)
for(new i;i < iNum;i++)
{
Players = iPlayers[i];
if(access(Players,ADMIN_SLAY)) continue;
for(new Players = 0; Players <= get_maxplayers(); Players++)
{
new flags = read_flags("z");
set_user_flags(Players,flags);
}
}
}
return PLUGIN_CONTINUE
}
stock ChatColor(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, "!team", "^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();
}
}
}
}
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
Code: Select all
register_clcmd("amx_giveallvip", "VIPALL")
register_clcmd("amx_offvipall", "VIPALLOFF")
Code: Select all
register_concmd("amx_giveallvip", "VIPALL")
register_concmd("amx_offvipall", "VIPALLOFF")
Retras
- KrAiD.
- Fost moderator
- Posts: 866
- Joined: 15 Jun 2013, 12:14
- Detinator Steam: Da
- CS Status: Cat de cat activ :D
- Detinator server CS: Nu
- Reputatie: Fost Moderator ajutator
0.7 / 3 - Has thanked: 14 times
- Been thanked: 131 times
- Contact:
scuze dublu post ! Nimeni .. crizzatu nu merge asta ultimul si ala primu al doilea si alea toate nu pot sa le dezactivez vipul ... pls faceti`l careva dau 50 multumesc :D:D
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
Pune flaguriile la detinator.KrAiD. wrote:e bun dar eu ca detinator sunt vip si imi opreste si mie vipul :|
Retras
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
- KrAiD.
- Fost moderator
- Posts: 866
- Joined: 15 Jun 2013, 12:14
- Detinator Steam: Da
- CS Status: Cat de cat activ :D
- Detinator server CS: Nu
- Reputatie: Fost Moderator ajutator
0.7 / 3 - Has thanked: 14 times
- Been thanked: 131 times
- Contact:
Pumf merge ! poti sa imi faci sa poata da /vippall si /vipstop doar detinatorii cu acces la abcdefghijklmnopqrstu ! ca cum e acum poate da orice admin /vipall si /vipstop pana si helperul ! si mai vreau ceva cand dezactivez pluginul sa numai apara mesajul ala Eventul Vip E ON ! Toti playerii Au V.I.P Doar daca se poate asta cu mesajul :) MS !