[Pomoc] Ban

Započeo JusT, Septembar 09, 2011, 17:37:12 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

JusT

Skripta koju koristim: Moja od 0
Detaljan opis problema:Kako da kad netkog banujem da mu pise Vas acc je trenutno izbrisan!Izbaceni ste!! kako da ovo napravim?
Dio Skirpte://
Slike Video:///


JusT

nekuzim tu mi daje komandu /ban a ja je vec imam

daj svoju komandu /ban da ubacim tu liniju..
Vratio sam se ponovo ocekjute novi server...

JusT

Evo ivane


if(strcmp(cmd, "/ban", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdmin] >= 2|| PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pAdmin] >= 4 ||PlayerInfo[playerid][pAdmin] >= 5)
{
    if(IsPlayerConnected(giveplayerid))
    {
        if(giveplayerid != INVALID_PLAYER_ID)
        {
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
new id = strval(tmp);
                new ip[16];
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "{FF6644}BAN | %s, Admin: %s, Razlog: %s", giveplayer, sendername, (result));
if (PlayerInfo[playerid][pAdmin] >= 1)
SendAdminMessage(ORANGERED, string);
SendClientMessage(playerid, RED, "{FF6644}Upozorenje! - Igracev level je 1+_______________");
SendClientMessage(playerid, GREEN, "Taj igrac je level 1+ i stoga je potrebno staviti njegov ban na forum! slikaj sa f8 i postaj!");
SendClientMessage(playerid, YELLOW, "Svatko je obavezan postati ban igraca ciji je level 1+");
format(string, sizeof(string), "{FF6644}Informacije o bananom igracu | Nick: %s, ID: %d", giveplayer,id);
SendClientMessage(playerid,ORANGERED, string);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "{FF6644}IP Adresa bananog igraca: %s. Adresa sa banom automatski je banana!", ip);
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result),month,day,year);
BanLog(string);
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "{FF6644}ISKLJUCENI STE SA SERVERA(Banani)!pozorno procitajte tekst!");
format(string, sizeof(string), "%s iskljucen(Banan) si sa servera od %s", giveplayer, sendername, (result));
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Razlog iskljucenja: %s", (result));
SendClientMessage(giveplayerid, WHITE, string);
getdate(year, month, day);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "Datum bana: %d-%d-%d | Vasa ip adresa je: %s", month,day,year,ip);
SendClientMessage(giveplayerid, WHITE, string);
SendClientMessage(giveplayerid, WHITE, "Sa ovim banom, vas korisnicki racun je suspendiran na neodredjeno");
SendClientMessage(giveplayerid, YELLOW, "Ukoliko mislis da je doslo do greske slikaj ovo(f8) i zatrazi unban na forumu!");
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result));
SendClientMessageToAll(ORANGERED, string);
PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
PlayerInfo[giveplayerid][pLevel] = -999;
Ban(giveplayerid);
return 1;
}
}
}
else
{
format(string, sizeof(string), "   %d nije aktivan igrac.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}


if(strcmp(cmd, "/ban", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdmin] >= 2|| PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pAdmin] >= 4 ||PlayerInfo[playerid][pAdmin] >= 5)
{
    if(IsPlayerConnected(giveplayerid))
    {
        if(giveplayerid != INVALID_PLAYER_ID)
        {
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
new id = strval(tmp);
                new ip[16];
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "{FF6644}BAN | %s, Admin: %s, Razlog: %s", giveplayer, sendername, (result));
if (PlayerInfo[playerid][pAdmin] >= 1)
SendAdminMessage(ORANGERED, string);
SendClientMessage(playerid, RED, "{FF6644}Upozorenje! - Igracev level je 1+_______________");
SendClientMessage(playerid, GREEN, "Taj igrac je level 1+ i stoga je potrebno staviti njegov ban na forum! slikaj sa f8 i postaj!");
SendClientMessage(playerid, YELLOW, "Svatko je obavezan postati ban igraca ciji je level 1+");
format(string, sizeof(string), "{FF6644}Informacije o bananom igracu | Nick: %s, ID: %d", giveplayer,id);
SendClientMessage(playerid,ORANGERED, string);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "{FF6644}IP Adresa bananog igraca: %s. Adresa sa banom automatski je banana!", ip);
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result),month,day,year);
BanLog(string);
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "{FF6644}ISKLJUCENI STE SA SERVERA(Banani)!pozorno procitajte tekst!");
format(string, sizeof(string), "%s iskljucen(Banan) si sa servera od %s", giveplayer, sendername, (result));
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Razlog iskljucenja: %s", (result));
SendClientMessage(giveplayerid, WHITE, string);
getdate(year, month, day);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "Datum bana: %d-%d-%d | Vasa ip adresa je: %s", month,day,year,ip);
SendClientMessage(giveplayerid, WHITE, string);
SendClientMessage(giveplayerid, WHITE, "Sa ovim banom, vas korisnicki racun je suspendiran na neodredjeno");
SendClientMessage(giveplayerid, YELLOW, "Ukoliko mislis da je doslo do greske slikaj ovo(f8) i zatrazi unban na forumu!");
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result));
SendClientMessageToAll(ORANGERED, string);
PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
PlayerInfo[giveplayerid][pLevel] = -999;
BanEx(giveplayerid, "Tu napisi tekst");
return 1;
}
}
}
else
{
format(string, sizeof(string), "   %d nije aktivan igrac.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}

if(strcmp(cmd, "/ban", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdmin] >= 2|| PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pAdmin] >= 4 ||PlayerInfo[playerid][pAdmin] >= 5)
{
    if(IsPlayerConnected(giveplayerid))
    {
        if(giveplayerid != INVALID_PLAYER_ID)
        {
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
new id = strval(tmp);
                new ip[16];
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "{FF6644}BAN | %s, Admin: %s, Razlog: %s", giveplayer, sendername, (result));
if (PlayerInfo[playerid][pAdmin] >= 1)
SendAdminMessage(ORANGERED, string);
SendClientMessage(playerid, RED, "{FF6644}Upozorenje! - Igracev level je 1+_______________");
SendClientMessage(playerid, GREEN, "Taj igrac je level 1+ i stoga je potrebno staviti njegov ban na forum! slikaj sa f8 i postaj!");
SendClientMessage(playerid, YELLOW, "Svatko je obavezan postati ban igraca ciji je level 1+");
format(string, sizeof(string), "{FF6644}Informacije o bananom igracu | Nick: %s, ID: %d", giveplayer,id);
SendClientMessage(playerid,ORANGERED, string);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "{FF6644}IP Adresa bananog igraca: %s. Adresa sa banom automatski je banana!", ip);
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result),month,day,year);
BanLog(string);
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "{FF6644}ISKLJUCENI STE SA SERVERA(Banani)!pozorno procitajte tekst!");
format(string, sizeof(string), "%s iskljucen(Banan) si sa servera od %s", giveplayer, sendername, (result));
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Razlog iskljucenja: %s", (result));
SendClientMessage(giveplayerid, WHITE, string);
getdate(year, month, day);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "Datum bana: %d-%d-%d | Vasa ip adresa je: %s", month,day,year,ip);
SendClientMessage(giveplayerid, WHITE, string);
SendClientMessage(giveplayerid, WHITE, "Sa ovim banom, vas korisnicki racun je suspendiran na neodredjeno");
SendClientMessage(giveplayerid, YELLOW, "Ukoliko mislis da je doslo do greske slikaj ovo(f8) i zatrazi unban na forumu!");
SendClientMessage(giveplayerid, YELLOW, "Vas acc je trenutno izbrisan!Izbaceni ste!!");
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result));
SendClientMessageToAll(ORANGERED, string);
PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
PlayerInfo[giveplayerid][pLevel] = -999;
Ban(giveplayerid);
return 1;
}
}
}
else
{
format(string, sizeof(string), "   %d nije aktivan igrac.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}


fox nerazumijem te kaki BanEX pa da ide Text?
JusTSaYOmG
ev ti komanda i kako znas za ime...
Vratio sam se ponovo ocekjute novi server...

JusT

Citat: Narco_VK poslato Septembar 09, 2011, 18:52:32 POSLE PODNE
if(strcmp(cmd, "/ban", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pAdmin] >= 2|| PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pAdmin] >= 4 ||PlayerInfo[playerid][pAdmin] >= 5)
{
   if(IsPlayerConnected(giveplayerid))
   {
       if(giveplayerid != INVALID_PLAYER_ID)
       {
   GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, WHITE, "{FFAA00}Koristite: {FFFFFF} /ban [Korisnicki ID ili Ime Korisnika] [Razlog]");
return 1;
}
new id = strval(tmp);
               new ip[16];
new year, month,day;
getdate(year, month, day);
format(string, sizeof(string), "{FF6644}BAN | %s, Admin: %s, Razlog: %s", giveplayer, sendername, (result));
if (PlayerInfo[playerid][pAdmin] >= 1)
SendAdminMessage(ORANGERED, string);
SendClientMessage(playerid, RED, "{FF6644}Upozorenje! - Igracev level je 1+_______________");
SendClientMessage(playerid, GREEN, "Taj igrac je level 1+ i stoga je potrebno staviti njegov ban na forum! slikaj sa f8 i postaj!");
SendClientMessage(playerid, YELLOW, "Svatko je obavezan postati ban igraca ciji je level 1+");
format(string, sizeof(string), "{FF6644}Informacije o bananom igracu | Nick: %s, ID: %d", giveplayer,id);
SendClientMessage(playerid,ORANGERED, string);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "{FF6644}IP Adresa bananog igraca: %s. Adresa sa banom automatski je banana!", ip);
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result),month,day,year);
BanLog(string);
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, " ");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "___________________________________________________________________");
SendClientMessage(giveplayerid, ORANGERED, "{FF6644}ISKLJUCENI STE SA SERVERA(Banani)!pozorno procitajte tekst!");
format(string, sizeof(string), "%s iskljucen(Banan) si sa servera od %s", giveplayer, sendername, (result));
SendClientMessage(giveplayerid, WHITE, string);
format(string, sizeof(string), "Razlog iskljucenja: %s", (result));
SendClientMessage(giveplayerid, WHITE, string);
getdate(year, month, day);
GetPlayerIp(id,ip,15);
format(string, sizeof(string), "Datum bana: %d-%d-%d | Vasa ip adresa je: %s", month,day,year,ip);
SendClientMessage(giveplayerid, WHITE, string);
SendClientMessage(giveplayerid, WHITE, "Sa ovim banom, vas korisnicki racun je suspendiran na neodredjeno");
SendClientMessage(giveplayerid, YELLOW, "Ukoliko mislis da je doslo do greske slikaj ovo(f8) i zatrazi unban na forumu!");
SendClientMessage(giveplayerid, YELLOW, "Vas acc je trenutno izbrisan!Izbaceni ste!!");
format(string, sizeof(string), "Ban | %s, Admin: %s", giveplayer, sendername, (result));
SendClientMessageToAll(ORANGERED, string);
PlayerInfo[giveplayerid][pAdmin] = PlayerInfo[giveplayerid][pLevel];
PlayerInfo[giveplayerid][pLevel] = -999;
Ban(giveplayerid);
return 1;
}
}
}
else
{
format(string, sizeof(string), "   %d nije aktivan igrac.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}


fox nerazumijem te kaki BanEX pa da ide Text?
JusTSaYOmG
ev ti komanda i kako znas za ime...


Haha vidi Potpis a i u WW Skripti pise :S

Aa nismo se dobro razumjeli necu da bude kad koristim /ban nego ocu da bude kad se krene logovati
Poslednja Izmena: Septembar 09, 2011, 19:04:48 POSLE PODNE od JusTSaYOmG

pa i pise

"you are banned from this server"
"server closed the connection"

JusT

Citat: K4[Я]!K3â,,¢ poslato Septembar 09, 2011, 19:46:58 POSLE PODNE
pa i pise

"you are banned from this server"
"server closed the connection"

Nepise kak izbrisem ban.cfg i normalno me loguuje

PlayerInfo[playerid][pBann] = 1;    - govori ti nesto?

Citat: JusTSaYOmG poslato Septembar 09, 2011, 19:54:21 POSLE PODNE
Citat: K4[Я]!K3â,,¢ poslato Septembar 09, 2011, 19:46:58 POSLE PODNE
pa i pise

"you are banned from this server"
"server closed the connection"

Nepise kak izbrisem ban.cfg i normalno me loguuje

pa nemoj banat ako ces ga brisat, isuse koji kloc :/

JusT

Citat: K4[Я]!K3â,,¢ poslato Septembar 09, 2011, 19:58:25 POSLE PODNE
PlayerInfo[playerid][pBann] = 1;    - govori ti nesto?

Citat: JusTSaYOmG poslato Septembar 09, 2011, 19:54:21 POSLE PODNE
Citat: K4[Я]!K3â,,¢ poslato Septembar 09, 2011, 19:46:58 POSLE PODNE
pa i pise

"you are banned from this server"
"server closed the connection"

Nepise kak izbrisem ban.cfg i normalno me loguuje

pa nemoj banat ako ces ga brisat, isuse koji kloc :/

Nemoras skupljati postove ako neznas kako to napraviti!!

Lemi_Zero

Evo ti komanda /ban:

}

COMMAND:ban(playerid, params[])
{
new string[128];
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new idx;

    if(IsPlayerConnected(playerid))
    {
    temp = strtok(params, idx);
if(!strlen(temp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{168BFF}INFO: {959561}/ban {959561}[ID/DioImena] {838361} [razlog]");
return 1;
}
giveplayerid = ReturnUser(temp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
    if(IsPlayerConnected(giveplayerid))
    {
        if(giveplayerid != INVALID_PLAYER_ID)
        {
    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(params);
while ((idx < length) && (params[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = params[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "{168BFF}INFO: {959561} /ban {959561}[ID/DioImena] {838361} [razlog]");
return 1;
}
new playersip[128];
GetPlayerIp( giveplayerid,playersip,sizeof(playersip));
new hour,minuite,second;
gettime(hour,minuite,second);
new year, month,day;
if(PlayerInfo[giveplayerid][pPhousekey] != 255 && strcmp(giveplayer, Houses[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0)
{
Houses[PlayerInfo[giveplayerid][pPhousekey]][hBanned] = 1;
OnPropTextdrawUpdate();
}
getdate(year, month, day);
format(string, sizeof(string), " {FF0000}BAN| {FF8C8C}Igrac:%s| Admin:%s| Datum:%d.%d.%d| Vrijeme: %d:%d:%d|Razlog:%s", giveplayer, sendername ,month,day,year,hour,minuite,second, (result));
BanLog(string);
ABroadCast(COLOR_LIGHTRED, string, 1);
format(string, sizeof(string), "{FF1111}%s, {FFADAD}nazalost  ste iskljuceni/protjerani sa ovog servera.", giveplayer);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "{FF1111}Razlog: {FFADAD}%s", (result));
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "{FFADAD}Datum: %d.%d.%d., Vas IP: %s Vrijeme: %d:%d:%d",month,day,year, playersip, hour,minuite,second);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "{FFADAD}Ukoliko mislite da je ovo greska, slikajte ovo sa F8 i postajte na forum.");
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
PlayerInfo[giveplayerid][pBanovan] = 1;
SacuvajIgraca(giveplayerid);
Ban(giveplayerid);
format(string, sizeof(string), "{FF0000}BAN|{FFADAD}Igrac: %s |{680606}Admin: %s", giveplayer, sendername);
SendClientMessageToAll(COLOR_LIGHTRED, string);
return 1;
}
}//not connected
}
else
{
format(string, sizeof(string), "   %d nije aktivan igrac.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;

aha to.. nismo se onda razumili...
ev ti primjer

if(PlayerInfo[playerid][pBanned] == 1)
{
SCM(playerid, Boja, "Text");
Kick(playerid);
}

ti koristi svoje kodove ovo ti je samo primjer znaci ovo stavi onplayerlogin
posto kazes da koristis od mod od 0 onda bi trebo znat si funkciju stavit kad je igrac banan
Vratio sam se ponovo ocekjute novi server...