30.01.2013, 00:33
Bom, eu estou tentando fazer aqui mas ta osso, queria que sу players acima do nнvel 50 entrasse nos helicopteros.
Linha dos erro:
pawn Код:
new Modelo = GetVehicleModel(vehicleid);
if(Modelo == 420 || Modelo == 421 || Modelo == 422 && PlayerDados(playerid) < 5)
{
if((PlayerDados[playerid]< 50))
{
RemovePlayerFromVehicle(playerid);
Msg(playerid, CINZA, "Veнculo permitido para Nнvel 50 de Score.");
}
}
}
return 0;
}
PHP код:
C:\Users\Richard\Desktop\SAMP 0.3E\filterscripts\KrayAdmin.pwn(644) : error 012: invalid function call, not a valid address
C:\Users\Richard\Desktop\SAMP 0.3E\filterscripts\KrayAdmin.pwn(644) : warning 215: expression has no effect
C:\Users\Richard\Desktop\SAMP 0.3E\filterscripts\KrayAdmin.pwn(644) : error 001: expected token: ";", but found ")"
C:\Users\Richard\Desktop\SAMP 0.3E\filterscripts\KrayAdmin.pwn(644) : error 029: invalid expression, assumed zero
C:\Users\Richard\Desktop\SAMP 0.3E\filterscripts\KrayAdmin.pwn(644) : 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 код:
if(Modelo == 420 || Modelo == 421 || Modelo == 422 && PlayerDados(playerid) < 5);