1 error
#1

Hey, i'm using this automatic gate fliterscript and i'v got this problem which i have no idea how to fix.

http://pawn.pastebin.com/YdeuvGt1

Error: C:\Documents and Settings\Hayden Bruin\Desktop\YGT Islands 0.3B\filterscripts\gates.pwn(32) : error 018: initialization data exceeds declared size

Thank you for your help
Reply
#2

pawn Код:
enum E_GATE_DATA
{
        Modelid,
        Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:x2, Float:y2, Float:z2, Float:rx2, Float:ry2, Float:rz2,
        interior, world, Float:Distance, Float:Range, Float:Speed, bool:State,
        ignorevehicle, GateID
}
Here are 21 values.
In the variable you take use of the enum, you're having 22 values, aka you're missing one in your enum. Add it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)