[Pomoc] REPORT komanda

Započeo Bugi
1. Mar. 2013. Zaključano
605
pregleda
5
postova
Bugi
5
Crime Lord
1. Mar. 2013.
Skripta koju koristim: Od 0
Detaljan opis problema: Gledao sam nesto na Wiki samp za komandu /report i evo :
CMD:report(playerid, params[])
{
    new string;
    if(!isnull(params))
    {
        SendClientMessage(playerid, -1, COL_RED, "Vase pitanje je poslato Adminima i Pomagacima /n Vase pitanje glasi:");
        format(string, sizeof(string), "%s", params); // Proof to the reporter, that the command worked.
        SendClientMessage(playerid, COLOR_YELLOW, string);
        for(new i=0; i        {
            if(IsPlayerAdmin(playerid))
            {
                format(string, sizeof(string), "Pitanje od %s[%d]: %s", PlayerName(playerid), playerid, params);
                SendClientMessage(i, -1, COL_RED, string); // Send's the format to the online Rcon'ly Logged in Admins.
            }
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /Report "); // Show's the player the Usage.
    }
    return 1;
}



Sad kad udjem u igru i posaljem report ne pise mi Ono Vas report je poslat blablabla.. Kako da popravim to?  😐
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Johnâ„¢
5
Godfather
1. Mar. 2013.
CMD:report(playerid, params[])
{
    new string;
    if(!isnull(params))
    {
        SendClientMessage(playerid, COL_RED, "Vase pitanje je poslato Adminima i Pomagacima");
SendClientMessage(playerid, COL_RED, "Vase pitanje glasi:");
        format(string, sizeof(string), "%s", params); // Proof to the reporter, that the command worked.
        SendClientMessage(playerid, COLOR_YELLOW, string);
        for(new i=0; i        {
            if(IsPlayerAdmin(playerid))
            {
                format(string, sizeof(string), "Pitanje od %s[%d]: %s", PlayerName(playerid), playerid, params);
                SendClientMessage(i, -1, COL_RED, string); // Send's the format to the online Rcon'ly Logged in Admins.
            }
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /Report "); // Show's the player the Usage.
    }
    return 1;
}
Bugi
5
Crime Lord
1. Mar. 2013.
Nece da moze :O
[EX:RP]N1XTON
5
Underboss
1. Mar. 2013.
vako probaj

CMD:report(playerid, params[])
{
    new string;
    if(!isnull(params))
    {
        SendClientMessage(playerid, COL_RED, "Vase pitanje je poslato Adminima i Pomagacima , Vase pitanje glasi:");
        format(string, sizeof(string), "%s", params); // Proof to the reporter, that the command worked.
        SendClientMessage(playerid, COLOR_YELLOW, string);
        for(new i=0; i        {
            if(IsPlayerAdmin(playerid))
            {
                format(string, sizeof(string), "Pitanje od %s[%d]: %s", PlayerName(playerid), playerid, params);
                SendClientMessage(i, COL_RED, string); // Send's the format to the online Rcon'ly Logged in Admins.
            }
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /Report "); // Show's the player the Usage.
    }
    return 1;
}
ermin.a
5
Underboss
2. Mar. 2013.
Jok ba, ovako stavi..

CMD:report(playerid, params[])
{
    new string;
    if(isnull(params)) return SendClientMessage(playerid, -1, ">> /report <<");
    SendClientMessage(playerid, COL_RED, "Vase pitanje je poslato Adminima i Pomagacima , Vase pitanje glasi:");
        format(string, sizeof(string), "%s", params);
        SendClientMessage(playerid, COLOR_YELLOW, string);
        for(new i=0; i        {
            if(IsPlayerAdmin(i))
            {
                format(string, sizeof(string), "Pitanje od %s[%d]: %s", PlayerName(playerid), playerid, params);
                SendClientMessage(i, COL_RED, string);
            }
        }
    return 1;
}

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha