ppiimm Geplaatst: 27 december 2008 Rapport Geplaatst: 27 december 2008 beste mensen ik heb een programma genaamd: X-treme San Andreas Multiplayer Ultimate Mapper - v2.0 Build 2.0.1.150 gedownload van: http://www.azer.nl/files/XtremeVehiclePlotter.rar ik heb wat vehicles neergezet en 2 gangzones gemaakt maar als ik dit in PAWN zet en opsla en build/ compile/run doe dan krijg ik deze errors C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(3) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(3) : error 010: invalid function or declaration C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(6) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit") C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : warning 215: expression has no effect C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : error 017: undefined symbol "airport" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : error 017: undefined symbol "GangZoneCreate" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors. en dit is de code die ik er heb neergezet //====================== // Above OnGameModeInit: new old airport; // OnGameModeInit Insert public OnGameModeInit() { old airport = GangZoneCreate(-128,4566, 2382,287, 502,1487, 2604,166); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, old airport, 0xAF5016FA); return 1; } //====================== //====================== // Above OnGameModeInit: new national guard; // OnGameModeInit Insert public OnGameModeInit() { national guard = GangZoneCreate(-105,1009, 1623,225, 467,115, 2113,696); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, national guard, 0x467A4596); return 1; } //====================== CreateVehicle(520, -1251,328, -202,821, 15, 0, -1, 2, 10000); CreateVehicle(520, 2031,95, -2428,998, 15, 0, -1, -1, 10000); CreateVehicle(520, 140,1345, 2522,421, 15, 0, -1, -1, 10000); CreateVehicle(520, -1386,522, -68,69224, 15, 0, -1, -1, 10000); CreateVehicle(520, -1224,289, -388,2343, 15, 0, -1, -1, 10000); CreateVehicle(520, -1270,641, -672,2718, 15, 0, -1, -1, 10000); CreateVehicle(520, 1996,917, -2405,642, 15, 0, -1, -1, 7500); als iemand een oplossing heeft dankje GR. ppiimm Reageren
Bierbuikje Geplaatst: 27 december 2008 Rapport Geplaatst: 27 december 2008 Je hebt komma's in de coordinaten. Dat moeten punten zijn. Bijvoorbeeld: CreateVehicle(520, -1251,328, -202,821, 15, 0, -1, 2, 10000); Moet zijn: CreateVehicle(520, -1251.328, -202.821, 15, 0, -1, 2, 10000); Reageren
ppiimm Geplaatst: 27 december 2008 Auteur Rapport Geplaatst: 27 december 2008 (bewerkt) ik heb het nu zo gedaan //====================== // Above OnGameModeInit: new old airport; // OnGameModeInit Insert public OnGameModeInit() { old airport = GangZoneCreate(-128.4566, 2382.87, 502,1487, 2604,166); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, old airport, 0xAF5016FA); return 1; } //====================== //====================== // Above OnGameModeInit: new national guard; // OnGameModeInit Insert public OnGameModeInit() { national guard = GangZoneCreate(-105,1009, 1623,225, 467,115, 2113,696); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, national guard, 0x467A4596); return 1; } //====================== CreateVehicle(520, -1251.328, -202.821, 15, 0, -1, 2, 10000); CreateVehicle(520, 2031.95, -2428.998, 15, 0, -1, -1, 10000); CreateVehicle(520, 140.1345, 2522.421, 15, 0, -1, -1, 10000); CreateVehicle(520, -1386.522, -68.69224, 15, 0, -1, -1, 10000); CreateVehicle(520, -1224.289, -388.2343, 15, 0, -1, -1, 10000); CreateVehicle(520, -1270.641, -672.2718, 15, 0, -1, -1, 10000); CreateVehicle(520, 1996.917, -2405.642, 15, 0, -1, -1, 7500); maar ik krijg nogsteeds errors: C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(1) : error 010: invalid function or declaration C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(3) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(3) : error 010: invalid function or declaration C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(6) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit") C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : warning 215: expression has no effect C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : error 017: undefined symbol "airport" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : error 017: undefined symbol "GangZoneCreate" C:\Documents and Settings\All Users\Documenten\Zipeg\samp02Xserver.win32[1]\pawno\hydra.pwn(7) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 7 Errors. Bewerkt: 27 december 2008 door ppiimm Reageren
Remcconen Geplaatst: 28 december 2008 Rapport Geplaatst: 28 december 2008 *zucht* //====================== // Above OnGameModeInit: new old airport; // OnGameModeInit Insert public OnGameModeInit() { old airport = GangZoneCreate(-128.4566, 2382.87, 502.1487, 2604.166); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, old airport, 0xAF5016FA); return 1; } //====================== //====================== // Above OnGameModeInit: new national guard; // OnGameModeInit Insert public OnGameModeInit() { national guard = GangZoneCreate(-105.1009, 1623.225, 467.115, 2113.696); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, national guard, 0x467A4596); return 1; } //====================== CreateVehicle(520, -1251.328, -202.821, 15.0, -1, 2, 10000); CreateVehicle(520, 2031.95, -2428.998, 15.0, -1, -1, 10000); CreateVehicle(520, 140.1345, 2522.421, 15.0, -1, -1, 10000); CreateVehicle(520, -1386.522, -68.69224, 15.0, -1, -1, 10000); CreateVehicle(520, -1224.289, -388.2343, 15.0, -1, -1, 10000); CreateVehicle(520, -1270.641, -672.2718, 15.0, -1, -1, 10000); CreateVehicle(520, 1996.917, -2405.642, 15.0, -1, -1, 7500); En nu natuurlijk nog in de goede volgorde plaatsen en onder de goede callback Reageren
Remcconen Geplaatst: 28 december 2008 Rapport Geplaatst: 28 december 2008 *zucht* //======================// Above OnGameModeInit: new old airport; // OnGameModeInit Insert public OnGameModeInit() { old airport = GangZoneCreate(-128.4566, 2382.87, 502.1487, 2604.166); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, old airport, 0xAF5016FA); return 1; } //====================== //====================== // Above OnGameModeInit: new national guard; // OnGameModeInit Insert public OnGameModeInit() { national guard = GangZoneCreate(-105.1009, 1623.225, 467.115, 2113.696); return 1; } // Player Spawn public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, national guard, 0x467A4596); return 1; } //====================== CreateVehicle(520, -1251.328, -202.821, 15.0, -1, 2, 10000); CreateVehicle(520, 2031.95, -2428.998, 15.0, -1, -1, 10000); CreateVehicle(520, 140.1345, 2522.421, 15.0, -1, -1, 10000); CreateVehicle(520, -1386.522, -68.69224, 15.0, -1, -1, 10000); CreateVehicle(520, -1224.289, -388.2343, 15.0, -1, -1, 10000); CreateVehicle(520, -1270.641, -672.2718, 15.0, -1, -1, 10000); CreateVehicle(520, 1996.917, -2405.642, 15.0, -1, -1, 7500); En nu natuurlijk nog in de goede volgorde plaatsen en onder de goede callback VERWIJDER MIJN ANDERE BERICHT! KON NIET AANPASSEN! HEEL VREEMD! Reageren
Recommended Posts
Een reactie plaatsen
Je kan nu een reactie plaatsen en pas achteraf registreren. Als je al lid bent, log eerst in om met je eigen account een reactie te plaatsen.