10.05.2009, 23:49
It compiles fine. It seems random and different every time. I have no repeating timers or anything. If I reload the script without changing it at all, the bug will be different. They all have to do with destroying objects though. It just seems like the server or script just doesn't feel like calling parts of the script. I'll post all the variables I have right now. Maybe that's why?
pawn Код:
enum ShipInfo
{
Ship,
Sails,
TimerID,
Captain,
bool:ShipMoving,
Text:HealthText,
Health,
Float:X1,
Float:Y1,
Float:X2,
Float:Y2,
Float:X3,
Float:Y3,
Float:X4,
Float:Y4
}
enum CannonInfo
{
Count,
TimerID,
Cannon,
CannonShot,
Ammo,
Float:fAngle,
Float:fHeight,
Float:BaseZ,
Float:BaseX,
Float:PosX,
Float:PosY,
CollisionChecker
}
enum PlayerInfo
{
Team,
Ammo,
CannonID,
Text:SpawnText
}
new PlatformID;
new BattleZone;
new Text:PText;
new bool:RoundStarted;
new AmmoCrates[2][4];
new ShipVar[2][ShipInfo];
new CannonVar[8][CannonInfo];
new PlayerVar[MAX_PLAYERS][PlayerInfo];
new Cannon1Data[3][FLIGHT_DATA];
new Cannon2Data[3][FLIGHT_DATA];
new Cannon3Data[3][FLIGHT_DATA];
new Cannon4Data[3][FLIGHT_DATA];
new Cannon5Data[3][FLIGHT_DATA];
new Cannon6Data[3][FLIGHT_DATA];
new Cannon7Data[3][FLIGHT_DATA];
new Cannon8Data[3][FLIGHT_DATA];

