03.08.2014, 04:28
Hola їComo hago para deshabilitar las bonificaciones por salto, y todo eso del Gta?
EnableStuntBonusForAll(enable);
public OnGameModeInit()
{
EnableStuntBonusForAll(0); //Deshabilita los bonos por acrobacias.
return 1;
}
C:\Users\AsusEvo\Desktop\Gm desde 0\gamemodes\Gamemode.pwn(1384) : error 021: symbol already defined: "EnableStuntBonusForAll" C:\Users\AsusEvo\Desktop\Gm desde 0\gamemodes\Gamemode.pwn(1385) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Hola gracias por responder lo puse al final de el public OnGameModeInit y me salen estos errores:
Код:
C:\Users\AsusEvo\Desktop\Gm desde 0\gamemodes\Gamemode.pwn(1384) : error 021: symbol already defined: "EnableStuntBonusForAll" C:\Users\AsusEvo\Desktop\Gm desde 0\gamemodes\Gamemode.pwn(1385) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
//CargarAutos(); return 1; } forward AddStaticVehicleExP(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay); public AddStaticVehicleExP(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay) { AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay); AutosDelGM++; return 1; } EnableStuntBonusForAll(0); //Deshabilita los bonos por acrobacias. return 1; }
//CargarAutos();
return 1;
}
forward AddStaticVehicleExP(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay);
public AddStaticVehicleExP(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay)
{
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay);
AutosDelGM++;
return 1;
}
EnableStuntBonusForAll(0); //Deshabilita los bonos por acrobacias.
return 1;
}
//CargarAutos();
EnableStuntBonusForAll(0); //Deshabilita los bonos por acrobacias.
return 1;
}
forward AddStaticVehicleExP(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay);
public AddStaticVehicleExP(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay)
{
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay);
AutosDelGM++;
return 1;
}