Can somebody explane how to make every time presing get different active.
simple explane - not working..
[shcode=cpp]
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF
0AB0: 101 {NUM 5}
THEN
0@ = TRUE
IF
0AB0: 101 {NUM 5}
THEN
0@ = FALSE
1@ = TRUE
IF
0AB0: 101 {NUM 5}
THEN
1@ = FALSE
2@ = TRUE
wait 3000
IF
0AB0: 101 {NUM 5}
THEN
2@ = FALSE
3@ = TRUE
{ BREAKE OR SOMTHING LIKE THAT TO BACK IN START - TRY DO RANDOM }
END
END
END
END
/////////////////////
IF
0@ == TRUE
THEN
0AF8: "test 1" -1
wait 1000
END
IF
1@ == TRUE
THEN
0AF8: "test 2" -1
wait 1000
END
IF
2@ == TRUE
THEN
0AF8: "test 3" -1
wait 1000
END
IF
3@ == TRUE
THEN
0AF8: "test 4" -1
wait 1000
END
END
[/shcode]
simple explane - not working..
[shcode=cpp]
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF
0AB0: 101 {NUM 5}
THEN
0@ = TRUE
IF
0AB0: 101 {NUM 5}
THEN
0@ = FALSE
1@ = TRUE
IF
0AB0: 101 {NUM 5}
THEN
1@ = FALSE
2@ = TRUE
wait 3000
IF
0AB0: 101 {NUM 5}
THEN
2@ = FALSE
3@ = TRUE
{ BREAKE OR SOMTHING LIKE THAT TO BACK IN START - TRY DO RANDOM }
END
END
END
END
/////////////////////
IF
0@ == TRUE
THEN
0AF8: "test 1" -1
wait 1000
END
IF
1@ == TRUE
THEN
0AF8: "test 2" -1
wait 1000
END
IF
2@ == TRUE
THEN
0AF8: "test 3" -1
wait 1000
END
IF
3@ == TRUE
THEN
0AF8: "test 4" -1
wait 1000
END
END
[/shcode]