C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : error 029: invalid expression, assumed zero
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : warning 215: expression has no effect
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : error 001: expected token: ";", but found ")"
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : error 029: invalid expression, assumed zero
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : fatal error 107: too many error messages on one line
function Addspeedoncar(playerid)
{
if(vehsys == 0); return true; //asta e linia 39
new vehicleid, keys, Float:vx, Float:vy, Float:vz;
Question
Cerbw
Salut,primesc aceste erori la include:
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : error 029: invalid expression, assumed zero
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : warning 215: expression has no effect
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : error 001: expected token: ";", but found ")"
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : error 029: invalid expression, assumed zero
C:\Users\Cerbw\Desktop\gamemode GTA-SAMP\pawno\include\vehicleupgrade.inc(39) : fatal error 107: too many error messages on one line
function Addspeedoncar(playerid)
{
if(vehsys == 0); return true; //asta e linia 39
new vehicleid, keys, Float:vx, Float:vy, Float:vz;
foreach(new z : Player){
if((vehicleid = GetPlayerVehicleID(playerid))) {
if(IsAnOwnableCar(vehicleid)) {
for(new i = 0; i < MAX_PERSONAL_VEHICLES; i++) {
if(PlayerInfo[z][pCarID][i] == vehicleid) {
if(PlayerInfo[z][pVitezamodificata][i] != 0) {
if(Carspeed(playerid) < (PlayerInfo[z][pVitezamodificata][i] + MySQLCheckSpeed(PlayerInfo[z][pCarModel][i]))) {
GetPlayerKeys(playerid, keys, _:vx, _:vx);
if((keys & (vehForWard | vehBackWard | KEY_HANDBRAKE)) == vehForWard) {
GetVehicleVelocity(vehicleid, vx, vy, vz);
if(vx * vx + vy * vy < (0.4 * 0.4)) continue;
vx *= 1.025;
vy *= 1.025;
SetVehicleVelocity(vehicleid, vx, vy, vz);
}
}
}
break;
}
}
}
}
}
return true;
}
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.