pls mam problem.Uz v pawne niesom az taký zaciatocnik ale na toto zaboha nwm prijst
podla mna to bude zo zatvorkama alebo returny?Fakt nwm pomozete mi??
Tak pise mi tento error:
C:\Documents and Settings\Packar Bell\Plocha\_gS\_gS.pwn(737) : error 029: invalid expression, assumed zero
a ten prikaz so vsetkyj mam takto:
//---------------------------------------------//healall pre RCON
if(strcmp(cmdtext, "/healall", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerHealth(i, 100);
}
for(new i = 0; i < MAX_PLAYERS; i++)
SendClientMessage(playerid,COLOR_CYAN,"Doplnil si kazdemu HEALTH !");
else
{
return SendClientMessage(playerid,COLOR_CERVENA,"Musís být admin.");
}
}
return 1;
}
//-----------------------------------------------
predom dakuejm pawnári