Very dumb question
#3

pawn Код:
CMD:loadfs(playerid,params[])
{
    if(PInfo[playerid][Level] >=5 || IsPlayerAdmin(playerid))
    {
        new fs, string[128];
        if(sscanf(params,"s",fs)) return SendClientMessage(playerid,RED,"Usage: /loadfs [FilterScript Name]");
        else {
            format(string,sizeof(string),"%s",fs);
            SendRconCommand(string);
        }
    }
    else return SendClientMessage(playerid,RED,"You are not a high enough level to use this command");
    return 1;
}
Can't test this as my pawno is fuxed right now.
Reply


Messages In This Thread
Very dumb question - by anumaz - 17.03.2011, 11:13
Re: Very dumb question - by antonio112 - 17.03.2011, 11:45
Re: Very dumb question - by Snipa - 17.03.2011, 14:23
Re: Very dumb question - by anumaz - 17.03.2011, 20:34
Re: Very dumb question - by maramizo - 17.03.2011, 20:39
Re: Very dumb question - by Calgon - 17.03.2011, 20:44
Re: Very dumb question - by anumaz - 17.03.2011, 21:03
Re: Very dumb question - by anumaz - 17.03.2011, 21:58

Forum Jump:


Users browsing this thread: 2 Guest(s)