Bugged Cmd (/ask)
#1

Hey guys, I'm experiencing a bug in my command which is /ask
When a player uses it it sends it to online admins but doesn't show their question..
Could somebody please help ?



pawn Код:
CMD:ask(playerid,params[]) {
    new question[128], asker[MAX_PLAYER_NAME], str[128];
    if(isnull(params)) return SendClientMessage(playerid, red, "Usage: /ask <question>");
    GetPlayerName(playerid, asker, sizeof(asker));
    format(str, sizeof(str), "||NewReport||  %s(%d) asks: %s",asker,playerid,question);
    MessageToAdmins(COLOR_WHITE,str);
    return SendClientMessage(playerid,yellow, "Your question has been sent to online administrators.");
}
Thanks
Reply


Messages In This Thread
Bugged Cmd (/ask) - by Snail - 25.11.2014, 10:22
Re: Bugged Cmd (/ask) - by Youice - 25.11.2014, 10:24
Re: Bugged Cmd (/ask) - by Write - 25.11.2014, 10:26
Re: Bugged Cmd (/ask) - by Snail - 25.11.2014, 10:27
Re: Bugged Cmd (/ask) - by Write - 25.11.2014, 10:33
Re: Bugged Cmd (/ask) - by Snail - 25.11.2014, 10:41

Forum Jump:


Users browsing this thread: 1 Guest(s)