megaphone
#1

When I do my megaphone command, it doesnt return the message. All my other chats use proxdetect and they work fine, but this one simply does not. The error messages work fine if they have to.

pawn Код:
CMD:megaphone(playerid, params[])
{
    if(!IsPlayerLEO(playerid)) return ErrorMessage(pid, "You are not LEO.");
    new string[128], message[100];
    if(sscanf(params,"s", message)) return UsageMessage(pid, "/m(egaphpone) [message]");
    format(string, sizeof(string), "[Megaphone]: %s", message);
    ProxDetector(50.0, playerid, string, 0xFF8C00AA);
    return 1;
}
Reply


Messages In This Thread
megaphone - by Mattakil - 01.12.2013, 22:47
Re: megaphone - by Wizzy951 - 01.12.2013, 22:49
Re: megaphone - by Hansrutger - 01.12.2013, 22:58
Re: megaphone - by Mattakil - 01.12.2013, 23:06
Re: megaphone - by Hansrutger - 01.12.2013, 23:14
Re: megaphone - by Mattakil - 01.12.2013, 23:18
Re: megaphone - by Hansrutger - 01.12.2013, 23:21
Re: megaphone - by Wizzy951 - 01.12.2013, 23:25
Re: megaphone - by Mattakil - 01.12.2013, 23:49
Re: megaphone - by Hansrutger - 02.12.2013, 09:11

Forum Jump:


Users browsing this thread: 3 Guest(s)