01.12.2013, 23:06
ok i cant believe I missed that lol. But I tried it and adding "good" after each function, and they all work
the message just doesnt return for some reason
the message just doesnt return for some reason
pawn Код:
CMD:megaphone(playerid, params[])
{
if(!IsPlayerLEO(playerid)) return ErrorMessage(pid, "You are not LEO.");
new string[128], message[100];
if(sscanf(params,"s[100]", message)) return UsageMessage(pid, "/m(egaphpone) [message]");
SCM(pid, -1, "Good1");
format(string, sizeof(string), "[Megaphone]: %s", message);
SCM(pid, -1, "Good2");
ProxDetector(50.0, playerid, string, 0xFF8C00AA);
SCM(pid, -1, "Good3");
return 1;
}

