25.03.2012, 21:25
pawn Код:
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(736) : error 010: invalid function or declaration
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(739) : error 055: start of function body without function header
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(740) : error 010: invalid function or declaration
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(741) : error 010: invalid function or declaration
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(746) : error 055: start of function body without function header
C:\Users\Danny\Desktop\Server\gamemodes\new.pwn(747) : error 010: invalid function or declaration
pawn Код:
}
if(strcmp(cmd, "/l", true) == 0)
{
new text[128],message[256],sender[MAX_PLAYER_NAME];
{
if(sscanf(params,"s",text)) SendClientMessage(playerid, COLOR_RED, "/l(ocal) <text>");
else
{
GetPlayerName(playerid,sender,sizeof(sender));
format(message,sizeof(message),"%s(%d) says: %s",sender,playerid,text);
ProxDetector(10.0, playerid,message,COLOR_GREY);
{
return 1;
}