05.08.2011, 11:41
can you tell me where i am mistaking?
Error:
Error:
Quote:
D:\Games\ELRPv1\gamemodes\ELRP.pwn(215) : error 010: invalid function or declaration D:\Games\ELRPv1\gamemodes\ELRP.pwn(21 : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
pawn Код:
public OnPlayerText(playerid, text[])
{
new pname[24], str[128];
GetPlayerName(playerid, pname, 24);
format(str, sizeof(str), "%s Says: %s", pname, text);
ProxDetector(10.0, playerid, str, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
return 0;
}
if PlayerInfo[playerid][pNMuted] == 1)
{
SendClientMessage(playerid,0xFF0000,"ERROR: You are muted!");
return 0;
}