Dark_Sniper
2007-03-05 23:05:57
SendArrowSilent would not always let me rotate the map compass right after i logged in….
so i made the keys end not silent :p
(this one sends the arrow key just like sendarrowsilent without the silent)
(this one sends the arrow key just like sendarrowsilentwait without the silent)
I have tested these and they do allow me to rotate the compass right after i login.
if this was already made i didnt notice :p
but there you go :p
so i made the keys end not silent :p
(this one sends the arrow key just like sendarrowsilent without the silent)
Procedure SendArrow( key : Integer ); //0 = up, 1 = right, 2 = down, 3 = left.
begin
If key = 0 then begin
KeyDown(38)
KeyUp(38)
end;
If key = 1 then begin
KeyDown(39)
KeyUp(39)
end;
If key = 2 then begin
KeyDown(40)
KeyUp(40)
end;
If key = 3 then begin
KeyDown(37)
KeyUp(37)
end;
end;(this one sends the arrow key just like sendarrowsilentwait without the silent)
Procedure SendArrowWait( key, WaitTime : Integer ); //0 = up, 1 = right, 2 = down, 3 = left.
begin
If key = 0 then begin
KeyDown(38)
wait(WaitTime)
KeyUp(38)
end;
If key = 1 then begin
KeyDown(39)
wait(WaitTime)
KeyUp(39)
end;
If key = 2 then begin
KeyDown(40)
wait(WaitTime)
KeyUp(40)
end;
If key = 3 then begin
KeyDown(37)
wait(WaitTime)
KeyUp(37)
end;
end;I have tested these and they do allow me to rotate the compass right after i login.
if this was already made i didnt notice :p
but there you go :p