#5

pawn Код:
if(!strcmp(cmdtext, "/ask", true, 4)) {
    new str[128], pName[24];
    GetPlayerName(playerid, pName, 24);
    format(str, sizeof str, "%s asked: %s", pName, cmdtext[5]);
    for(new i=0; i<MAX_PLAYERS;++i) {
        if(IsPlayerAdmin(i)) { // You might need your alevel variable if you're using an admin script!
            SendClientMessage(i, -1, str);
        }
    }
    return 1;
}
Reply


Messages In This Thread
/ask - by antonisrodos94 - 30.04.2012, 14:21
Re: /ask - by Mean - 30.04.2012, 14:48
Re: /ask - by FalconX - 30.04.2012, 14:50
Re: /ask - by antonisrodos94 - 30.04.2012, 14:57
Re: /ask - by Mean - 30.04.2012, 15:03
Re: /ask - by antonisrodos94 - 30.04.2012, 15:12
Re: /ask - by Mark™ - 30.04.2012, 15:14
Re: /ask - by newbienoob - 30.04.2012, 15:15
Re: /ask - by antonisrodos94 - 30.04.2012, 15:17
Re: /ask - by Mean - 30.04.2012, 15:24

Forum Jump:


Users browsing this thread: 2 Guest(s)