#1 Re: GTA Modding » one key press but sporadic/dice commands » 24-02-2008 01:44

...yes, this is possible.
You have to take a pointer to help for this!


[TestThis]

0@ = 0
:UserKeyPress
wait 0 ms
0AB0:   key_pressed 32
JiF @UserKeyPress

:ImmunityOff
if
0@ == 1
JiF@ImmunityOn
0@ = 0
jump @PlayerConfig

:ImmunityOn
0@ = 1

:PlayerConfig
Actor.SetImmunities($PLAYER_ACTOR, 0@, 0, 0, 0, 0)
wait 200 ms // <---- dont forget this! Or your changes are too fast!
jump @UserKeyPress



...regards PARA wink

#2 Re: GTA Modding » Sanny Builder / CLEO discussion » 05-01-2008 17:39

Seemann wrote:

2PARA&#208;OXON:
You mean, repeat the track forever until stop? OK, I'll try.

I have to wait while it playing, if I play a track.
I can&#180;t play the same track, as long as the play itself.
A overlapping would be useful function.

#3 Re: GTA Modding » Sanny Builder / CLEO discussion » 04-01-2008 19:55

Hi Seemann.

It is possible to add a parameter at 0AAD ?

Example:
0AAD: set_mp3 $hMP3 perform_action 1
This opcode performs the pre-defined action with the loaded mp3.

Parameters:
1 – mp3 handle obtained by 0AAC
2 – a number to specify an action:
  0: stop
  1: play
  2: pause
  3: resume
  4: overlap <--- usefull for short sound or other things

...regards, PARA

#4 GTA Modding » [GxtHook] Found-A-Bug » 03-01-2008 01:21

PARA&#208;OXON
Replies: 1

Hi...

I found a little bug in your GxtHook.cleo.
If you make a space-sign behind your text, then will not displayed text in game!


...regards, PARA.

Board footer

Powered by FluxBB