Weird error?
#9

Quote:
Originally Posted by Wizzy951
Посмотреть сообщение
Try changing:

pawn Код:
ShipInfo[veh][ShipObject[i]] = 1;
to

pawn Код:
ShipInfo[veh][ShipObject[i] = 1;
So, you're opening a bracket, but you don't close it?

Green = Open | Red = Closed
ShipInfo[veh][ShipObject[i] = 1;

Anyway, that array doesn't make sense at all.

You're defining the array on this way:
pawn Код:
new ShipInfo[MAX_VEHICLES][sNfo];
enum sNfo {
    ShipObject[64]
}
Which means you can use it like this:
pawn Код:
ShipInfo[vehicleid][ShipObject] = "String with a max char of 64";
(Please correct me if I'm wrong.. I'm programming in four languages at this moment, I kinda get confused sometimes)
Reply


Messages In This Thread
Weird error? - by [WSF]ThA_Devil - 14.11.2013, 14:44
Re: Weird error? - by Elie1996 - 14.11.2013, 14:48
Re: Weird error? - by [WSF]ThA_Devil - 14.11.2013, 14:50
Re: Weird error? - by Elie1996 - 14.11.2013, 14:53
Re: Weird error? - by [WSF]ThA_Devil - 14.11.2013, 14:55
Re: Weird error? - by Elie1996 - 14.11.2013, 15:15
Re: Weird error? - by Wizzy951 - 14.11.2013, 15:22
Re: Weird error? - by Elie1996 - 14.11.2013, 15:24
Re: Weird error? - by Biesmen - 14.11.2013, 15:28
Re: Weird error? - by Wizzy951 - 14.11.2013, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)