PDA

View Full Version : Error please help


grantism
11/10/2011, 06:02 AM
Last error fixed, 26 errors due to Dynamic Object... Why wouldn't it work?
stock LoadObjects()
{

CreateDynamicObject(987, 1811.8372802734, -1602.2653808594, 12.524091720581, 0, 0, 90, -1, -1, -1, 100);
CreateDynamicObject(987, 1811.8372802734, -1593.2626953125, 12.524091720581, 0, 0, 90, -1, -1, -1, 100);
CreateDynamicObject(987, 1811.7364501953, -1581.3986816406, 12.474092483521, 0, 0, 75.249938964844, -1, -1, -1, 100);
CreateDynamicObject(987, 1814.7548828125, -1569.8776855469, 12.44909286499, 0, 0, 74.995361328125, -1, -1, -1, 100);
CreateDynamicObject(987, 1817.8708496094, -1558.4490966797, 12.44909286499, 0, 0, 74.24267578125, -1, -1, -1, 100);
CreateDynamicObject(987, 1821.1696777344, -1547.0092773438, 12.42409324646, 0, 0, 168.09008789063, -1, -1, -1, 100);
CreateDynamicObject(3749, 1788.7869873047, -1598.2781982422, 18.374307632446, 0, 0, 348.25, -1, -1, -1, 100);

// Dillimore Fences
CreateDynamicObject(987, 878.19152832031, -555.26751708984, 18.846422195435, 0.000000, 357.99621582031, 106.99658203125, -1, -1, -1, 100);
CreateDynamicObject(987, 884.7734375, -575.1669921875, 19.662727355957, 0.000000, 4.185791015625, 109.99514770508, -1, -1, -1, 100);
CreateDynamicObject(987, 874.2783203125, -541.9453125, 20.224229812622, 0.000000, 351.99096679688, 103.99658203125, -1, -1, -1, 100);
CreateDynamicObject(987, 871.47912597656, -530.49053955078, 22.229835510254, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
CreateDynamicObject(987, 868.45727539063, -519.16613769531, 24.204593658447, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
CreateDynamicObject(987, 865.50201416016, -508.20715332031, 25.793262481689, 0.000000, 356.99645996094, 103.99658203125, -1, -1, -1, 100);
CreateDynamicObject(987, 862.60638427734, -496.52239990234, 26.309391021729, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
CreateDynamicObject(987, 859.73895263672, -484.99890136719, 27.779407501221, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
CreateDynamicObject(987, 858.97442626953, -473.84356689453, 29.905250549316, 0.000000, 29, 184, -1, -1, -1, 100);
CreateDynamicObject(987, 657.14215087891, -425.97109985352, 15.54341506958, 0.000000, 1, 179.99450683594, -1, -1, -1, 100);
CreateDynamicObject(987, 625.00732421875, -467.70855712891, 15.218000411987, 0.000000, 0.000000, 269.98901367188, -1, -1, -1, 100);
CreateDynamicObject(987, 624.6357421875, -479.03747558594, 15.3359375, 0.000000, 0.000000, 180, -1, -1, -1, 100);
CreateDynamicObject(987, 612.74658203125, -479.03042602539, 15.335936546326, 0.000000, 0.000000, 180, -1, -1, -1, 100);
CreateDynamicObject(987, 600.61364746094, -478.51965332031, 15.573776245117, 0.000000, 0.000000, 252, -1, -1, -1, 100);
CreateDynamicObject(987, 596.92755126953, -489.86529541016, 15.3359375, 0.000000, 0.000000, 266.99890136719, -1, -1, -1, 100);
CreateDynamicObject(987, 596.28448486328, -501.81750488281, 15.3359375, 0.000000, 0.000000, 270.19525146484, -1, -1, -1, 100);
CreateDynamicObject(987, 596.32379150391, -513.755859375, 15.3359375, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.33197021484, -525.72137451172, 15.3359375, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.19732666016, -537.697265625, 15.689353942871, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.22521972656, -549.66271972656, 16.050436019897, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.25604248047, -561.65252685547, 16.129402160645, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.21392822266, -573.68414306641, 16.217031478882, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.40985107422, -585.64685058594, 16.153072357178, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.40808105469, -597.59515380859, 16.171394348145, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.43487548828, -609.56567382813, 16.72620010376, 0.000000, 357, 270.19226074219, -1, -1, -1, 100);
CreateDynamicObject(987, 596.51477050781, -624.0556640625, 17.982280731201, 0.000000, 347, 270.18676757813, -1, -1, -1, 100);
CreateDynamicObject(987, 596.46264648438, -612.03210449219, 16.85179901123, 0.000000, 356.99523925781, 270.18676757813, -1, -1, -1, 100);
CreateDynamicObject(987, 596.30010986328, -635.13970947266, 20.488275527954, 0.000000, 7, 340, -1, -1, -1, 100);
CreateDynamicObject(987, 607.40325927734, -639.27813720703, 19.113561630249, 0.000000, 6.998291015625, 339.99938964844, -1, -1, -1, 100);
CreateDynamicObject(987, 618.57275390625, -643.3037109375, 18.043838500977, 0.000000, 6.998291015625, 339.99938964844, -1, -1, -1, 100);
CreateDynamicObject(987, 629.78735351563, -647.42333984375, 16.769758224487, 0.000000, 3, 345.99938964844, -1, -1, -1, 100);
CreateDynamicObject(987, 641.41003417969, -650.37951660156, 16.220834732056, 0.000000, 2.999267578125, 345.99792480469, -1, -1, -1, 100);
CreateDynamicObject(987, 652.81701660156, -653.35870361328, 15.673723220825, 0.000000, 2.999267578125, 345.99792480469, -1, -1, -1, 100);
CreateDynamicObject(987, 665.07293701172, -656.49932861328, 15.328876495361, 0.000000, 0.999267578125, 359.99792480469, -1, -1, -1, 100);
CreateDynamicObject(3749, 681.6494140625, -655.0576171875, 21.045913696289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
dGates[2] = CreateDynamicObject(971, 681.40765380859, -656.54528808594, 18.757417678833, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
CreateDynamicObject(987, 664.64691162109, -656.49542236328, 15.332686424255, 0.000000, 0.9942626953125, 359.99450683594, -1, -1, -1, 100);
CreateDynamicObject(987, 685.8544921875, -656.7412109375, 15.32497215271, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);

Just some of the objects, the errors..

roleplay.pwn(752) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(753) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(754) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(755) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(756) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(757) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(758) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(761) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(762) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(763) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(764) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(765) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(766) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(767) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(768) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(769) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(770) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(771) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(772) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(773) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(774) : error 017: undefined symbol "CreateDynamicObject"
roleplay.pwn(775) : error 017: undefined symbol "CreateDynamicObject"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

[GOD]Dragonster82
11/10/2011, 06:09 AM
Just transfer everything from YSI to the includes, ;)

grantism
11/10/2011, 06:10 AM
What do you mean?

Rachael
11/10/2011, 06:19 AM
when you have an #include in your script, the compiler will look for it in the 'pawno/include' folder
if your #include has a file separator, then the sub-directory goes in the pawno/include folder

from looking at your error, it seems like either your gamemode ( if that is what you are trying to compile ) is in the wrong place, or if you are trying to compile an include, then I don't think you need to.

perhaps your gamemode is in the pawno folder?

grantism
11/10/2011, 06:20 AM
No its not... I think that was for the old error, re-look :)

Rachael
11/10/2011, 07:08 AM
latest error could be the lack of #include <streamer>