12.03.2016, 12:42
At the top of theGM
PHP код:
forward RACT();
forward RACTA();///348
PHP код:
public RACTA();
{ /// 17098
SendClientMessageToAll(COLOR_YELLOW2,"Toate masiniile v-or fi respawnate in mai putin de 1 minut.")
}
public RACT();
{
new bool:unwanted[CAR_AMOUNT];
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player))
{
unwanted[GetPlayerVehicleID(player)]=true;
}
}
for(new car = 1; car <= 420; car++) ///17111
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
}
Код:
xMA5.pwn(348) : error 010: invalid function or declaration xMA5.pwn(17098) : error 055: start of function body without function header xMA5.pwn(17102) : error 055: start of function body without function header xMA5.pwn(17104) : error 010: invalid function or declaration xMA5.pwn(17106) : error 010: invalid function or declaration xMA5.pwn(17113) : error 010: invalid function or declaration