Hi,
ich habe mir den GF Gamemode runtergeladen, es funktioniert auch alles super, aber ich kann keine autos einfügen!
Soweit ich weiß geht das mit AddStaticVehicle! Hier ist mal mein bearbeiteter gamemode:
Dies ist allerding nicht der ganze script: ...
// Car Spawns
for(new h = 0; h < sizeof(HouseInfo); h++)
{
AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000);
gCarLock[h+1] = 1;
}//34
AddStaticVehicle(528,1545.9447,-1655.0209,5.9324,90.4915,0,0); //
AddStaticVehicle(528,1546.3011,-1658.9397,5.9326,89.5275,0,0); //
AddStaticVehicle(601,1545.9111,-1667.9958,5.6494,90.4980,0,0); //
AddStaticVehicleEx(596,-1381.9910,457.0832,6.9837,0.1452, 44, 86, 60000);/*Patriot cruiser*/
AddStaticVehicleEx(596,1558.392000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,1569.639000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,-2139.1995,-2393.7671,30.3452,140.7012, 0, 0, 60000);/*CopCruiser*/
AddStaticVehicleEx(425,-1279.8262,493.3734,18.0309,219.1345, -1, -1, 60000);/*Hunter*/
AddStaticVehicleEx(425,-1291.0063,492.3819,18.0305,223.8306, -1, -1, 60000);/*Hunter*/
AddStaticVehicleEx(596,1601.308000,-1621.916000,13.056540,90.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,1535.8275,-1678.0283,13.1680,359.9876, -1, -1, 60000);/*CopCruiser*/
habe ich was falsch gemacht?^^ Es sind erst 300 Fahrzeuge eingefügt... Das hier habe ich selbst eingefügt:AddStaticVehicle(528,1545.9447,-1655.0209,5.9324,90.4915,0,0); //
AddStaticVehicle(528,1546.3011,-1658.9397,5.9326,89.5275,0,0); //
AddStaticVehicle(601,1545.9111,-1667.9958,5.6494,90.4980,0,0); //
Oder muss ich den pwn script erst wieder in amx umwandeln?
Beim compiler ist aber immer die Fehlermeldung:
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\a_samp.inc(33) : error 021: symbol already defined: "print"
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\a_samp.inc(34) : error 021: symbol already defined: "printf"
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\dutils.inc(254) : error 021: symbol already defined: "frename"
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\dutils.inc(255) : error 010: invalid function or declaration
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\dutils.inc(257) : error 010: invalid function or declaration
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\pawno\include\dutils.inc(259) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(6706) : warning 217: loose indentation
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(6709) : warning 217: loose indentation
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(7256) : error 021: symbol already defined: "strtok"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(7271) : error 047: array sizes do not match, or destination array is too small
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(8151) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(8423) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(8456) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(8869) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(10029) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(10081) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(10343) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(10533) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(11275) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(11758) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(13138) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(13488) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(13669) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(13736) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(13843) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(14001) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(14041) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(14136) : error 017: undefined symbol "ReturnUser"
C:\PROGRA~1\ROCKST~1\GRANDT~1\GAMEMO~1\gf.pwn(14445) : error 017: undefined symbol "ReturnUser"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.