Quantcast

Jump to content

» «
Photo

help! command keys and keys in gta 4

No replies to this topic
lamlam
  • lamlam

    Player Hater

  • Members
  • Joined: 13 Mar 2018
  • Vietnam

#1

Posted 3 weeks ago Edited by lamlam, 2 weeks ago.

i need to know some codes about: GTA.Native.Function.Call.
i want to burn the target ped that player aim at by click LMB, so i have code:

Ped Burn = Player.GetTargetedPed();
if (Game.isGameKeyPressed(GameKey.Attack) && Burn.Exists() )
{
      GTA.Native.Function.Call("START_CHAR_FIRE", Burn);  
}

i don't know, is it right? please help!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users