linusgr
2010-01-26 13:46:18
Need just a simpel script to se how it work's –> "if keydown" PLZ help
[PHP]program New;
begin
if keydown(1); then
WriteLn('HELP');
end.[/PHP]
[PHP]program New;
begin
if keydown(1); then
WriteLn('HELP');
end.[/PHP]
2010-01-26 13:46:18
2010-01-26 13:49:06
1 - 49
2010-01-26 13:59:16
From: Junkj
A list of key codes is in my signature.
Edit:
1 - 49
2010-01-26 13:59:47
From: linusgr
program New;
begin
if keydown(1); then
WriteLn('HELP');
end.
2010-01-26 14:00:17
if KeyDown(1) then
begin
//whatever
end;
2010-01-26 14:03:43
From: Floor66
you have to remove the semicolon…
if KeyDown(1) then
begin
//whatever
end;
2010-01-26 14:04:17
2010-01-26 14:09:11
program New;
begin
Repeat
If IsFKeyDown(1) then
Begin
Writeln('Help');
TerminateScript;
end;
until(false);
end.2010-01-26 14:21:14
2010-01-26 14:24:30