how to fix -
PedoBear - 12.05.2009
error 010: invalid function or declaration
Re: how to fix -
Think - 12.05.2009
code?
Re: how to fix -
PedoBear - 12.05.2009
very simple.
#include <a_samp>
/new Objects[][object_info]
1634,2412.611,937.962,11.118,0.0,0.0,0.0,1000.0
12959,2546.563,668.658,11.815,0.0,0.0,179.999,1000 .0
17568,2550.858,1069.833,766.753,0.0,0.0,0.0,1000.0
1634,197.633,2495.532,16.782,0.0,0.0,90.000,1000.0
1634,197.668,2499.595,16.782,0.0,0.0,90.000,1000.0
1634,197.760,2503.765,16.782,0.0,0.0,90.000,1000.0
1634,195.671,2495.502,19.975,28.648,0.0,90.000,100 0.0
1634,195.822,2499.604,19.908,28.648,0.0,90.000,100 0.0
1634,195.684,2503.764,20.042,28.648,0.0,90.000,100 0.0
1634,193.347,2503.981,23.759,42.972,0.0,90.000,100 0.0
1634,193.400,2499.924,23.472,42.972,0.0,90.000,100 0.0
1634,193.349,2495.674,23.720,42.972,0.0,90.000,100 0.0
1634,194.084,2503.862,25.251,57.296,0.0,90.000,100 0.0
1634,194.032,2499.735,25.237,57.296,0.0,90.000,100 0.0
1634,194.074,2495.581,25.244,57.296,0.0,90.000,100 0.0
1634,217.364,2503.225,16.782,0.0,0.0,270.000,1000. 0
1634,217.269,2499.050,16.782,0.0,0.0,270.000,1000. 0
1634,217.193,2495.073,16.782,0.0,0.0,270.000,1000. 0
1634,217.912,2499.060,19.233,28.648,0.0,270.000,10 00.0
1634,217.947,2503.256,19.206,28.648,0.0,270.000,10 00.0
1634,217.807,2495.033,19.221,28.648,0.0,270.000,10 00.0
1634,219.295,2499.022,24.082,57.296,0.0,270.000,10 00.0
1634,219.368,2503.212,24.118,57.296,0.0,270.000,10 00.0
1634,219.237,2495.008,24.077,57.296,0.0,270.000,10 00.0
1634,197.587,2491.673,16.782,0.0,0.0,90.000,1000.0
1634,195.498,2491.792,20.049,28.648,0.0,90.000,100 0.0
1634,194.078,2492.044,24.960,57.296,0.0,90.000,100 0.0
1634,217.142,2491.062,16.782,0.0,0.0,270.000,1000. 0
1634,217.924,2491.100,19.306,28.648,0.0,270.000,10 00.0
1634,219.239,2491.002,24.041,57.296,0.0,270.000,10 00.0
Re: how to fix -
Think - 12.05.2009
Quote:
Originally Posted by PedoBear
very simple.
#include <a_samp>
/new Objects[][object_info]
1634,2412.611,937.962,11.118,0.0,0.0,0.0,1000.0
12959,2546.563,668.658,11.815,0.0,0.0,179.999,1000 .0
17568,2550.858,1069.833,766.753,0.0,0.0,0.0,1000.0
1634,197.633,2495.532,16.782,0.0,0.0,90.000,1000.0
1634,197.668,2499.595,16.782,0.0,0.0,90.000,1000.0
1634,197.760,2503.765,16.782,0.0,0.0,90.000,1000.0
1634,195.671,2495.502,19.975,28.648,0.0,90.000,100 0.0
1634,195.822,2499.604,19.908,28.648,0.0,90.000,100 0.0
1634,195.684,2503.764,20.042,28.648,0.0,90.000,100 0.0
1634,193.347,2503.981,23.759,42.972,0.0,90.000,100 0.0
1634,193.400,2499.924,23.472,42.972,0.0,90.000,100 0.0
1634,193.349,2495.674,23.720,42.972,0.0,90.000,100 0.0
1634,194.084,2503.862,25.251,57.296,0.0,90.000,100 0.0
1634,194.032,2499.735,25.237,57.296,0.0,90.000,100 0.0
1634,194.074,2495.581,25.244,57.296,0.0,90.000,100 0.0
1634,217.364,2503.225,16.782,0.0,0.0,270.000,1000. 0
1634,217.269,2499.050,16.782,0.0,0.0,270.000,1000. 0
1634,217.193,2495.073,16.782,0.0,0.0,270.000,1000. 0
1634,217.912,2499.060,19.233,28.648,0.0,270.000,10 00.0
1634,217.947,2503.256,19.206,28.648,0.0,270.000,10 00.0
1634,217.807,2495.033,19.221,28.648,0.0,270.000,10 00.0
1634,219.295,2499.022,24.082,57.296,0.0,270.000,10 00.0
1634,219.368,2503.212,24.118,57.296,0.0,270.000,10 00.0
1634,219.237,2495.008,24.077,57.296,0.0,270.000,10 00.0
1634,197.587,2491.673,16.782,0.0,0.0,90.000,1000.0
1634,195.498,2491.792,20.049,28.648,0.0,90.000,100 0.0
1634,194.078,2492.044,24.960,57.296,0.0,90.000,100 0.0
1634,217.142,2491.062,16.782,0.0,0.0,270.000,1000. 0
1634,217.924,2491.100,19.306,28.648,0.0,270.000,10 00.0
1634,219.239,2491.002,24.041,57.296,0.0,270.000,10 00.0
|
maybe its because of the /? remove it and recompile
Re: how to fix -
PedoBear - 12.05.2009
if i take / away it will give
warning 203: symbol is never used: "Objects"
and
error 010: invalid function or declaration
Re: how to fix -
Weirdosport - 12.05.2009
pawn Код:
new Objects[][object_info] = {
{ 1634,2412.611,937.962,11.118,0.0,0.0,0.0,1000.0 },
{ 1634,2412.611,937.962,11.118,0.0,0.0,0.0,1000.0 },
{ 1634,2412.611,937.962,11.118,0.0,0.0,0.0,1000.0 },
{ 1634,2412.611,937.962,11.118,0.0,0.0,0.0,1000.0 },
{ etc... }
};
All need commas after them, except the last one (as shown)
Re: how to fix -
PedoBear - 12.05.2009
well didnt help at all
warning 203: symbol is never used: "Objects"
error 010: invalid function or declaration
error 017: undefined symbol "object_info"
Re: how to fix -
Weirdosport - 12.05.2009
Well that's your fault for not enumerating object_info, and for not using "Objects" if it's xObjects you're trying to make work, it should be like this:
pawn Код:
new Objects[][object_info] = {
{18450, 255.0000, 0.0000, 550.0000, 50.0000, 21.1503, 253.4920, 500.0},
{18450, 253.5096, 15.3701, 553.8461, 50.0000, 21.1503, 264.5689, 500.0},
{18450, 249.0940, 30.1676, 557.6923, 50.0000, 21.1503, 275.6458, 500.0},
{18450, 241.9176, 43.8410, 561.5385, 50.0000, 21.1503, 286.7228, 500.0}
};
And it should be in the xObjects filterscript, you can't expect that to work if you just dump it in any old script..
Re: how to fix -
PedoBear - 12.05.2009
hm i didnt like sound of that
but now it works i justhad to but #if defined FILTERSCRIPT lol
Re: how to fix -
Weirdosport - 12.05.2009
That probably means the code is inaccessible and is therefore not producing any errors.. but if it keeps you happy and it works it's'all good