[Ajuda] error 012
#1

PHP код:
 public ADMcarro(playerid

for(new 
0<= 14c++) 
    { 
        if(
IsPlayerInVehicle(playeridCarrosAdm[c]) && PlayerDados[playerid][Helper] == false || PlayerDados[playerid][Admin] < 1
        { 
              
RemovePlayerFromVehicle(playerid); 
              
Msg(playeridCINZA"[ERRO] Veiculos apenas para administradores."); 
        } 
    } 
}
 
public 
ADMcarro(playerid

for(new 
0<= 14c++) 
    { 
        if(
IsPlayerInVehicle(playeridCarrosAdm[c]) && PlayerDados[playerid][Helper] == false || PlayerDados[playerid][Admin] < 1
        { 
              
RemovePlayerFromVehicle(playerid); 
              
Msg(playeridCINZA"[ERRO] Veiculos apenas para administradores."); 
        } 
    } 
}
public 
OnPlayerStateChange(playeridnewstateoldstate)
{
  if(
newstate == PLAYER_STATE_DRIVER) {
  
CarrosAdm(playerid);}//diz que e nessa linha
   
return 1;

aqui o erros
Код:
GAMEMODE.pwn(907) : error 012: invalid function call, not a valid address
GAMEMODE.pwn(907) : warning 215: expression has no effect
GAMEMODE.pwn(907) : error 001: expected token: ";", but found ")"
GAMEMODE.pwn(907) : error 029: invalid expression, assumed zero
GAMEMODE.pwn(907) : fatal error 107: too many error messages on one line
Admin favor nгo fechar muito obrigado
Reply


Messages In This Thread
error 012 - by goku114 - 09.01.2014, 21:50
Re: error 012 - by jvssgamer - 09.01.2014, 22:18
Re: error 012 - by goku114 - 09.01.2014, 22:22
Re: error 012 - by Hulk3000 - 09.01.2014, 22:26
Respuesta: error 012 - by ViniKuliveguisky - 09.01.2014, 22:29
Re: Respuesta: error 012 - by jvssgamer - 09.01.2014, 22:30
Re: error 012 - by Hulk3000 - 09.01.2014, 23:12
Re: error 012 - by Petrick™ - 09.01.2014, 23:23

Forum Jump:


Users browsing this thread: 5 Guest(s)