02.01.2012, 06:40
Код:
(9) : error 010: invalid function or declaration (3716) : warning 203: symbol is never used: "gID" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
gID = gGate(976, 1546.19995117,-1618.40002441,12.60000038,0.00000000,0.00000000,268.75000000, 1546.30004883,-1611.00000000,12.60000038, -1, -1, -1);
Код:
function gGate(modelid, Float: cX, Float: cY, Float: cZ, Float: rX, Float: rY, Float: rZ, Float: oX, Float: oY, Float: oZ, cInt, cVW, Parent) { if(gates >= MAX_GATES) { print("406"); return 0; } Gate[gates][ObjectId] = CreateDynamicObject(modelid, cX, cY, cZ, rX, rY, rZ, cVW, cInt); Gate[gates][CloseX] = cX; Gate[gates][CloseY] = cY; Gate[gates][CloseZ] = cZ; Gate[gates][OpenX] = oX; Gate[gates][OpenY] = oY; Gate[gates][OpenZ] = oZ; Gate[gates][ParentId] = Parent; gates++; return gates-1; }