[Pomoc] /cc


Započeo [BU-RP] Pajke, Jun 03, 2014, 21:20:19 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:GF
Detaljan opis problema:kad kucam /cc obrise mi chat i pise admin je obrisao, ali ja hocu da stavim da pise koji admin .. ?
Dio skripte:
///////////////////////////////////////////////////////
YCMD:cc(playerid, params[], help)
{
    #pragma unused help
	#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"BE:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
	if (PlayerInfo[playerid][pGM] >= 1 || PlayerInfo[playerid][pAdmin] >= 1)
	{
		new string[128]; foreach(Player,i) { OcistiChat(i, 120); }
		new hour,minuite,second;
		gettime(hour,minuite,second);
		FixHour(hour);
		hour = shifthour;
        format(string,sizeof(string), ""PLAVA"[cenzura] "BELA"Sada je %d i i %d minuta a vi igrate na Balkan Evolution RolePlay.",hour,minuite);
        SCMTA(COLOR_WHITE, string);
        format(string,sizeof(string),""PLAVA"[cenzura] "BELA"Admin %s je ocistio chat");
        SCMTA(-1, string);
		}
	else
	{
		SCM(playerid, -1, "(BE:RP) "ZUTA"Samo Admini & Helperi!");
	}
	return 1;
}
///////////////////////////////////////////////////////

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Owner na Balkan Underground Evolution
- www.bu-rp.com -

stock iIme(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    return name;
}


YCMD:cc(playerid, params[], help)
{
    #pragma unused help
	#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"BE:RP | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
	if (PlayerInfo[playerid][pGM] >= 1 || PlayerInfo[playerid][pAdmin] >= 1)
	{
		new string[128]; foreach(Player,i) { OcistiChat(i, 120); }
		new hour,minuite,second;
		gettime(hour,minuite,second);
		FixHour(hour);
		hour = shifthour;
        format(string,sizeof(string), ""PLAVA"[cenzura] "BELA"Sada je %d i i %d minuta a vi igrate na Balkan Evolution RolePlay.",hour,minuite);
        SCMTA(COLOR_WHITE, string);
        format(string,sizeof(string),""PLAVA"[cenzura] "BELA"Admin %s je ocistio chat",iIme(playerid));
        SCMTA(-1, string);
		}
	else
	{
		SCM(playerid, -1, "(BE:RP) "ZUTA"Samo Admini & Helperi!");
	}
	return 1;
}
Poslednja Izmena: Jun 03, 2014, 21:22:22 POSLE PODNE od [SF]C++
69

gdje sta da stavim ?
Owner na Balkan Underground Evolution
- www.bu-rp.com -

jao majko moja pa taj stock stavi na kraj moda...

a komandu samo zamjeni.
69

reseno hvala
Owner na Balkan Underground Evolution
- www.bu-rp.com -