SA-MP Forums Archive
How to fixx? - 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: How to fixx? (/showthread.php?tid=69533)



How to fixx? - blastervirus - 18.03.2009

Код:
undefined symbol "object_info"
how to fix
#define object info?


Re: How to fixx? - Norn - 18.03.2009

Quote:
Originally Posted by blastervirus
Код:
undefined symbol "object_info"
how to fix
#define object info?
You need to create the variable, but it's most likely something important. Post what object_info is used for.


Re: How to fixx? - Zoopaman - 18.03.2009

probably
pawn Код:
new object_info;
will solve it


Re: How to fixx? - LarzI - 18.03.2009

If he doesn't know how to fix, it's probally used in a special function or something.
So it's not probally just new object_info;


Re: How to fixx? - Pyrokid - 19.03.2009

A simple search found your solution.

pawn Код:
enum object_info
{
    modelid,
    Float:ox,
    Float:oy,
    Float:oz,
    Float:orx,
    Float:ory,
    Float:orz,
    Float:viewdist
}
Object_info is from xObjects.


Re: How to fixx? - blastervirus - 19.03.2009

Quote:
Originally Posted by Pyrokid
A simple search found your solution.

pawn Код:
enum object_info
{
    modelid,
    Float:ox,
    Float:oy,
    Float:oz,
    Float:orx,
    Float:ory,
    Float:orz,
    Float:viewdist
}
Object_info is from xObjects.
totaly right


Re: How to fixx? - blastervirus - 19.03.2009

Quote:
Originally Posted by Zoopaman
probably
pawn Код:
new object_info;
will solve it
when i use this i get
must be a constant expression; assumed zero
warning 213: tag mismatch


an i already heave new Objects[][object_info] = {


Re: How to fixx? - LarzI - 19.03.2009

use the code pyrokid gave you...