21.07.2012, 09:22
i tried on making a gate with /gate at LSPD and try and finally create a moving gate, but it just wont work it keeps poping up the stupid Errors.
Please help, i will rep
Код:
C:\Users\Unknown\Desktop\My script fun\gamemodes\grandlarc.pwn(532) : error 010: invalid function or declaration C:\Users\Unknown\Desktop\My script fun\gamemodes\grandlarc.pwn(537) : error 010: invalid function or declaration
Код:
Line 532: if(strcmp(cmdtext,"/gate",true)== 0) { SetObjectPos(LSPDGate,CreateDynamicObject(980,1544.69995117,-1636.40002441,15.19999981); SetObjectRot(LSPDGate,0, 0, 90); SetTimer("InitPos",3000,false); Ignore this. it's just where the problem is pointed outLine 537: return 1; } public InitPos() { SetObjectPos(LSPDGate, 1544.69995117,-1627.50000000,15.19999981); SetObjectRot(LSPDGate,0, 0, 90); }