Bully-Board
Bully Modding Section => Modding Questions/Help => Topic started by: Ming on March 12, 2022, 07:19:17 AM
-
CarJack = function()
PedSetFlag(gPlayer, 42, true)
while true do
if IsButtonPressed(15, 0) then
PedSetActionNode(gPlayer, "Cars/ExecuteNodes/GrapThorw/Attempt/GIVE/jointDrivers", "Cars.act")
end
Wait(0)
end
end
Why it doesn't work, is the node wrong ?
-
Try add "/Global/" at the beginning of the node.
Btw, what does flag 42 do?
-
Flag 42 is CanDriveCars.
-
Flag 42 is CanDriveCars.
Yes
-
Flag 42 is CanDriveCars.
But AE version can't press button 9, button 9 doesn't show up auto
-
你是否用过IsButtonBeingPressed(9,0)?
-
Yeah, if there's a IsButtonBeingPressed(9, 0) statement in your script, then the (✓) button will appear. Other than IsButtonBeingPressed, it'll not appear.
-
你是否用过IsButtonBeingPressed(9,0)?
了解👍
-
Yeah, if there's a IsButtonBeingPressed(9, 0) statement in your script, then the (✓) button will appear. Other than IsButtonBeingPressed, it'll not appear.
Ok👍