[HELP] Object Errors
#1

Why can't I delete all of the objects?

If I do, this will remain after all objects are deleted:

Quote:

new Objects[][object_info] = {
};

And the errors:

Quote:

C:\Users\Tom\Desktop\Freeroam\gamemodes\freeroam.p wn(202) : error 029: invalid expression, assumed zero
C:\Users\Tom\Desktop\Freeroam\gamemodes\freeroam.p wn(202) : error 008: must be a constant expression; assumed zero
C:\Users/Tom\Desktop\Freeroam\gamemodes\freeroam.pwn(263) : error 001: expected token: ")", but found "["
C:\Users\Tom\Desktop\Freeroam\gamemodes\freeroam.p wn(263) : error 029: invalid expression, assumed zero
C:\Users\Tom\Desktop\Freeroam\gamemodes\freeroam.p wn(263) : warning 215: expression has no effect
C:\Users\Tom\Desktop\Freeroam\gamemodes\freeroam.p wn(263) : error 001: expected token: ";", but found "]"
C:\Users\Tom\Desktop\Freeroam\gamemodes\freeroam.p wn(263) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

6 Errors.

And if I have this still there, and 2 objects:

Quote:

new Objects[][object_info] = {
{3055, 230.6800, -1910.7400, 0.4500, 90.0000, 0.0000, 0.0000, 500.0}, //jetmax
{3055, 222.8500, -1910.7500, 0.4600, 90.0000, 0.0000, 0.0000, 500.0} //jetmax
};

It works..
Reply
#2

Anyone?
Reply
#3

Why would you have an array with nothing in it..?
Reply
#4

What?
Reply
#5

I'd be really happy if someone could help me.
Reply
#6

Don't bump within 12 hours. This makes you look like a 'special' guy who can break the forum rules, which you aren't. So stick with the forum rules and be patience.
Reply
#7

Well I'm sorry, but I'm leaving on friday for 1 months and I'd like to get it done before then. So it's quite urgent.
Reply
#8

more haste, less speed. well good luck with it.
Reply
#9

PAWN doesn't like your script because you created an empty array. It has nothing in it, so it is completely useless.

Try putting /* at the first line and */ at the last if you want just to make it for future use and remove them if you need to use it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)