Witam mam problem, a mianowicie kiedy co? napisze to moge maksymalnie na pare liter a potem ucina tekst dzieje si? to ze wszystkimi komendami chatowymi. Przyk?adowa komenda:
[code]dcmd_glob(playerid, params[])b
{
if(Gracz[playerid][ChatGlob] == true)
{
if(Gracz[playerid][Muted] == false)
{
new Granga = Gracz[playerid][Ranga];
if(Gracz[playerid][Zalogowany] == true)
{
new text[500];
if(sscanf(params, "s", text))
{
SendClientMessage(playerid, COLOR_WHITE, "U?yj /glob [Wiadomo??]");
}
else
{
new Gname[MAX_PLAYER_NAME];
new Wiadomosc[500];
new RangaText[64];
GetPlayerName(playerid, Gname, sizeof(Gname));
if(Granga == 1){RangaText = "[{FDD017}VIP{FFFFFF}]";}
if(Granga == 2){RangaText = "[{41A317}Moderator{FFFFFF}]";}
if(Granga == 3){RangaText = "[{FF0000}Junior Admin{FFFFFF}]";}
if(Granga == 4){RangaText = "[{C11B17}Administrator{FFFFFF}]";}
if(Granga == 5){RangaText = "[{1589FF}Owner{FFFFFF}]";}
format(Wiadomosc, sizeof(Wiadomosc), "[%i]%s %s: %s", playerid, Gname, RangaText, text);
SendClientMessageToAll(COLOR_WHITE, Wiadomosc);
print(Wiadomosc);
}
}
else
{
SendClientMessage(playerid, COLOR_RED,"Nie mo?esz pisa?, je?eli nie jeste? zalogowany");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "{D3D3D3}Jeste? zmutowan... |