Cars Help! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Cars Help! (
/showthread.php?tid=224367)
Cars Help! -
[MKD]Max - 11.02.2011
i have add both of this thing and look errors i got!
Код:
#include "../include/gl_common.inc"
Код:
This is The Error Lines
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/trains.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/pilots.txt");
// LAS VENTURAS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_gen.txt");
// SAN FIERRO
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_gen.txt");
// LOS SANTOS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_gen_inner.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_gen_outer.txt");
// OTHER AREAS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/whetstone.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/bone.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/flint.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/tierra.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/red_county.txt");
Код:
Erros:
D:\Documents and Settings\MrThift1\Desktop\samp03csvr_win32\pawno\include\../include/gl_common.inc(80) : error 021: symbol already defined: "strtok"
D:\Documents and Settings\MrThift1\Desktop\samp03csvr_win32\pawno\include\../include/gl_common.inc(95) : error 047: array sizes do not match, or destination array is too small
D:\Documents and Settings\MrThift1\Desktop\samp03csvr_win32\pawno\include\../include/gl_common.inc(139) : error 021: symbol already defined: "isNumeric"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(754) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(755) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(758) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(759) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(760) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(763) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(764) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(765) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(768) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(769) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(770) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(771) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(774) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(775) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(776) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(777) : error 017: undefined symbol "total_vehicles_from_files"
D:\Documents and Settings\MrThift1\Desktop\LSGW\gamemodes\LSGW.pwn(778) : error 017: undefined symbol "total_vehicles_from_files"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
20 Errors.
Re: Cars Help! -
Jeffry - 11.02.2011
Hi.
Add at TOP of your GameMode:
pawn Код:
new total_vehicles_from_files;
pawn Код:
error 021: symbol already defined: "strtok"
//This means that you already have a function called strtok in your GM. Simply remove the one in the GM.
//Same for the 'isNumeric'.
Cheers.
Re: Cars Help! -
[MKD]Max - 11.02.2011
thank you bro you make to me big help
Re: Cars Help! -
Jeffry - 11.02.2011
Quote:
Originally Posted by [MKD]Max
thank you bro you make to me big help
|
Glad I could help.