Originally Posted by Mauzen
Atm it isnt possible without Mysql, sorry. Its the only way to detect where the ground is. Maybe ill do a Sqlite version after this, but its very slow and could cause lag on bg servers.
But it isnt very difficult to get it running with mysql, the only problem is that your server needs to support it |
Originally Posted by kaisersouse
Quote:
In other words it IS possible to do without a DB...but its not at all realistic like a regular bomber. |
Originally Posted by backwardsman97
I'm sorta lost. What exactly is MySQL? Why do you need it to do such a thing?
I already read this http://forum.sa-mp.com/index.php?topic=23931.0 And this http://lostgangwarz.free.fr/samp_mysql_en.php |
C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(35) : error 001: expected token: ";", but found "new" C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(47) : error 001: expected token: ";", but found "new" C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(66) : error 001: expected token: ";", but found "new" C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(120) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(129) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(144) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(147) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(159) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(164) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(173) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(176) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(200) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(221) : warning 205: redundant code: constant expression is zero C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(240) : warning 235: public function lacks forward declaration (symbol "GetKeyPressed") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(250) : warning 235: public function lacks forward declaration (symbol "floatrandom") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(257) : warning 235: public function lacks forward declaration (symbol "GetPlayerDistanceToPoint") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(265) : warning 235: public function lacks forward declaration (symbol "GetGroundZ") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(277) : warning 235: public function lacks forward declaration (symbol "GetVehicleStatID") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(288) : warning 235: public function lacks forward declaration (symbol "DropBomb") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(329) : warning 235: public function lacks forward declaration (symbol "BombTimer") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(366) : warning 235: public function lacks forward declaration (symbol "DetonateBomb") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(382) : warning 235: public function lacks forward declaration (symbol "CreateSpecialExplosion") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(413) : warning 235: public function lacks forward declaration (symbol "ReactivateBomb") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(417) : warning 235: public function lacks forward declaration (symbol "UpdateCarHealth") C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP Sever\filterscripts\bomber.pwn(425) : warning 235: public function lacks forward declaration (symbol "Poison") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
E:\Server\filterscripts\dropbomb.pwn(127) : error 017: undefined symbol "MapAndreas_Init" E:\Server\filterscripts\dropbomb.pwn(227) : error 017: undefined symbol "MapAndreas_FindZ_For2DCoord" E:\Server\filterscripts\dropbomb.pwn(224) : warning 203: symbol is never used: "y" E:\Server\filterscripts\dropbomb.pwn(224) : warning 203: symbol is never used: "x" E:\Server\filterscripts\dropbomb.pwn(388) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
new gBombTypes[][bombEnum] = {
{"Nothing", 0, 0.0, 0.0, 0, 0, 0, 0, 0, 0},
{"Normal bombs", 11, 2.5, 6.0, 1636, 270, 500, 150, 1, 0},
{"Fire bombs", 1, 4.0, 8.0, 1636, 270, 0, 200, 1, 0},
{"Big bombs", 7, 4.5, 10.0, 3790, 270, 0, 750, 1, 0},
{"Laser-guided Bombs", 6, 5.0, 25.0, 1636, 270, 0, 1500, 1, 0},
{"Heavy bombs", -1, 5.0, 15.0, 345, 270, 0, 10000, 1, 0}, //Negative Explosion IDs can be used for self-created explosions, for more info check CreateSpecialExplosion
{"Anti-Missile Flares", -2, 150.0, 35.0, 354, 0, 5000, 10000, 1, 0}, //Only has an effect together with my (act. unreleased) missile FS
{"Nuclear Bombs", -3, 4.0, 10.0, 3790, 270, 0, 10000, 1, 0},
{"Clusterbombs", 11, 2.5, 3.0, 1636, 270, 0, 15000, 12, 0},
{"Carpetbombs", 11, 2.5, 5.5, 1636, 270, 0, 15000, 12, 100},
};