SRL Archive - SRL Archives

function GetCurrentTab : Integer;


devils elbow

2006-04-26 00:05:27

Yea…


function GetCurrentTab : Integer;
begin
if GetColor(559, 180) = 2566003 then
Result := 1;
if GetColor(585, 172) = 2434414 then
Result := 2;
if GetColor(612, 172) = 2434414 then
Result := 3;
if GetColor(630, 175) = 2829182 then
Result := 4;
if GetColor(683, 173) = 2434414 then
Result := 5;
if GetColor(706, 174) = 2763390 then
Result := 6;
if GetColor(731, 177) = 2829182 then
Result := 7;
if GetColor(584, 497) = 2434414 then
Result := 8;
if GetColor(617, 497) = 2763390 then
Result := 9;
if GetColor(631, 492) = 2829182 then
Result := 10;
if GetColor(678, 476) = 1908053 then
Result := 11;
if GetColor(711, 499) = 2434414 then
Result := 12;
if GetColor(731, 495) = 2829182 then
Result := 13;
end;

WhiteShadow

2006-04-26 00:07:59

Nice idea. Code looks good. :p

Sdcit

2006-04-26 00:19:41

Tested, works wonderfully, added to SRL !!!! :D :D :D

phantombmx

2006-04-26 00:29:32

coolio! looks good!

[offtopic] sd, how do i apply for devship? [/offtopic] :D

Sdcit

2006-04-26 00:40:58

@Phatnom, answer me on MSN

@devil, i edited it a bit :p is that okay?

XxKanexX

2006-04-26 02:03:42

From: Sdcit
Tested, works wonderfully, added to SRL !!!! :D :D :D

Don't get too exited, Sdcit. Remember. "It's only code. Not a naked man."

Wizzup?

2006-04-26 02:57:50

SDcit, my SRL does not compile anymore because of something in gametab, and well.. its is this function. :D

Bebe

2006-04-26 08:33:55

From: Sdcit
Tested, works wonderfully, added to SRL !!!! :D :D :D

Thats my job!!! :p

Nice work devils. :)
p.s. Wern't you a community member at Kaits?

Sdcit

2006-04-26 10:48:06

From: Wizzup?
SDcit, my SRL does not compile anymore because of something in gametab, and well.. its is this function. :D



i dont see anyproblem. Please try again?




*quickly commits*



I mean try now :p

Wizzup?

2006-04-26 11:06:03

………………………….. ;)

devils elbow

2006-04-26 21:07:38

Questions must not go unanswered.

Q: i edited it a bit :P is that okay?
A: NEVAR!!!!! Oh yeah sure.

Q:Weren't you a community member at Kaits?
A: I was the ONLY community member at kaits.

The Prince of Randomness?

2006-04-27 22:13:36

no you werent their were many community members..?
or do you mean the first?

devils elbow

2006-04-28 15:20:00

Just joking around man.

Bebe

2006-04-28 15:31:10

Yea, people just don't have a sense of humor now-a-days :p