24.07.2012, 18:00
gente ta dando esses erros aqui ja tentei de tudo e с consigo
PHP код:
CMD:x9(playerid, params[])
{
new Texto[128];
if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, -1, "Use /report [texto] para mandar uma mensagem para os admins online");
new strel[256];
if(Informacoes[playerid][PlayerAdmin] < 1)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(Informacoes[playerid][PlayerAdmin] < 1)
{
format(gString, sizeof(gString), "RELATO VIP de %s [ID: %d]: %s", gPlayerName, playerid, Texto);
SendClientMessage(i, -1, gString);
}
return 1;
}
Код:
admin.pwn(302) : error 079: inconsistent return types (array & non-array) admin.pwn(306) : warning 217: loose indentation admin.pwn(306) : error 029: invalid expression, assumed zero admin.pwn(306) : error 017: undefined symbol "cmd_admins" admin.pwn(306) : error 029: invalid expression, assumed zero admin.pwn(306) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 13 Errors.