PheteyGee
2014-10-23 19:27:08
Hey homies,
Am implementing a cross check/fail safe for a part of my script and was trying to think of a unique way (tailored to my scripts situation) of doing this.
Currently when it gets to a point it locks the backpack… was hoping to be able to check if the backpack is locked and therefore I am at the position.
I've come across TRSTabBackpack.isLocked() : Boolean function in the SRL6 backpack include files
heres the code:
That's pretty self explanatory right? Well… the thing is that the SRL6 backpack include doesn't have any comments or examples of this being used. Does this mean it is not currently working? I'm thinking the color needs updating as I ran through the getColor Function and it came up with a false result (even though my backpack was locked)… Anyone think of a work around? or a way in implementing a backpack locked check?
Thanks
PheteyGee.
Am implementing a cross check/fail safe for a part of my script and was trying to think of a unique way (tailored to my scripts situation) of doing this.
Currently when it gets to a point it locks the backpack… was hoping to be able to check if the backpack is locked and therefore I am at the position.
I've come across TRSTabBackpack.isLocked() : Boolean function in the SRL6 backpack include files
heres the code:
function TRSTabBackpack.isLocked(): boolean;
begin
result := (getColor(gameTabs.tabArea.x1 + 92, gameTabs.tabArea.y2 -35) = 1906963);
end; That's pretty self explanatory right? Well… the thing is that the SRL6 backpack include doesn't have any comments or examples of this being used. Does this mean it is not currently working? I'm thinking the color needs updating as I ran through the getColor Function and it came up with a false result (even though my backpack was locked)… Anyone think of a work around? or a way in implementing a backpack locked check?
Thanks
PheteyGee.