20.06.2012, 06:00
Quote:
|
How can I fix these errors?
Код:
D:\Rafay\COS-RP V 1.0\gamemodes\COS-RP.pwn(91) : warning 217: loose indentation D:\Rafay\COS-RP V 1.0\gamemodes\COS-RP.pwn(163) : warning 217: loose indentation D:\Rafay\COS-RP V 1.0\gamemodes\COS-RP.pwn(178) : error 010: invalid function or declaration D:\Rafay\COS-RP V 1.0\gamemodes\COS-RP.pwn(178 -- 183) : error 010: invalid function or declaration D:\Rafay\COS-RP V 1.0\gamemodes\COS-RP.pwn(178 -- 186) : error 010: invalid function or declaration D:\Rafay\COS-RP V 1.0\gamemodes\COS-RP.pwn(178 -- 186) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. pawn Код:
|
pawn Код:
CMD:me(playerid, params[])
{
if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /me [action]");
new string[128];
if(PlayerInfo[playerid][pMask] == 0) {
format(string, sizeof(string), "* %s %s", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else if (PlayerInfo[playerid][pMask] == 1) {
format(string, sizeof(string), "* Stranger %s", params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
return 1;
}


