15.08.2011, 03:20
(
Последний раз редактировалось Alex_Obando; 15.08.2011 в 03:54.
Причина: Wrong
)
pawn Код:
CMD:cc(playerid,params[])
{
CMD:changecolor(playerid, params[])
}
Can that be?
I dont think so
pawn Код:
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(117) : warning 209: function "cmd_changecolor" should return a value
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(120) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(120) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(120) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(120) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
CMD:setvip(playerid, params[])
{
new Player;
if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, RED, "You need to be Owner to execute this command.");
if (sscanf(params, "u", Player)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /setvip [ID]");
if(!dini_Exists(PFile(playerid)))
{
dini_Create(PFile(playerid));
dini_IntSet(PFile(playerid),"VipMember",1);
}
else if(dini_Exists(PFile(playerid)))
{
dini_IntSet(PFile(playerid),"VipMember",1);
}
}
pawn Код:
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(135) : error 012: invalid function call, not a valid address
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(135) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(135) : error 001: expected token: ";", but found ")"
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(135) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\EventSystem.pwn(135) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.