1 error
#2

pawn Код:
CMD:annc(playerid, params[])
{
    if (PInfo[playerid][LoggedIn] == true)
    {
        if (PInfo[playerid][PlayerLevel] < 1)
        {
            new msg[200];
           
                if (sscanf(params, "s[200]", msg)) return SendClientMessage(playerid, -1, "Usage: /annc [message/announce]");
                if (IsPlayerConnected(playerid))
                {
                    GameTextForAll(msg, 5000, 0);
                }
        }
        else
        {
        return SendClientMessage(playerid, -1, "{FF0000}ERROR: you need to be atleast admin level 3 to use this command");
        }
        }
        return 1;
}
+Rep me if I help you
Reply


Messages In This Thread
1 error - by Tuntun - 22.04.2014, 14:31
Re: 1 error - by Tadas - 22.04.2014, 14:32
Re: 1 error - by Conradus - 22.04.2014, 14:42

Forum Jump:


Users browsing this thread: 1 Guest(s)