29.05.2015, 20:29
olб pessoal poderia mme ajudar no erro que estб dando e poderia me me explicar por que ocorreu ??
*Erros*
*Linhas*
*Enum]
*Erros*
PHP код:
helpercmd.pwn(173) : error 028: invalid subscript (not an array or too many subscripts): "pHelper"
helpercmd.pwn(173) : warning 215: expression has no effect
helpercmd.pwn(173) : error 001: expected token: ";", but found "]"
helpercmd.pwn(173) : error 029: invalid expression, assumed zero
helpercmd.pwn(173) : 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.
PHP код:
CMD:kickh(playerid, params[])
{
173 --->> if(pHelper[playerid] == 1)
{
new ID, Motivo[40], string[70];
if(sscanf(params, "ds", ID, Motivo)) return SendClientMessage(playerid, 0xFFFFFFAA, "Digite /kick ID Motivo");
format(string, sizeof(string), "Vocк foi kickado [ Motivo %s ]", Motivo);
SendClientMessage(ID, 0xFFFFFFAA, string);
Kick(ID);
}
return 1;
}
PHP код:
enum pInfo
{
pSkin,
pSenha,
pHelper,
pDG,
pMod
};