Jump to content

Game Crashes


Recommended Posts

My game crashes when I press TAB sad.gif

 

3044 = Ciggerate

 

on_bone 1 = Torso

 

 

Object.Create(1@, 3044, 0.0, 0.0, 0.0):1wait 0if 0AB0:  key_pressed 9jf @109A0: actor $PLAYER_ACTOR attach_object 1@ with_offset 0.0 0.0 0.0 on_bone 1 16 perform_animation "NULL" IFP_file "NULL" time -1 Object.CollisionDetection(1@) = FalseMarker.CreateAboveObject(2@, 1@)

 

Link to comment
https://gtaforums.com/topic/461428-game-crashes/
Share on other sites

 

{$CLEO}{TESTED}0000:while true   wait 0   if 0AB0:  key_pressed 9   then        Object.Create(1@, 3044, 0.0, 0.0, 0.0)       Object.CollisionDetection(1@) = False       Marker.CreateAboveObject(2@, 1@)       070A: AS_actor $PLAYER_ACTOR attach_to_object 1@ offset 0.0 0.0 0.0 on_bone 1 16 perform_animation "NULL" IFP_file "NULL" time 0       break   end          end0A93: //kill the thread

 

 

The position of cigar sucks!!

Yair why do you want the entire script? mercie_blink.gif

Edited by BnB
Link to comment
https://gtaforums.com/topic/461428-game-crashes/#findComment-1060169612
Share on other sites

a.why on earth to use a while true in such case?

b.i just thought there was more to it

 

guess you can make it alot more simple using a normal loop

 

 

{$CLEO}thread 'whocares':cwait 0if0ab0: 9jf @c1@ = object.create(3044, 0.0, 0.0, 0.0)0382: set_object 1@ collision_detection 02@ = marker.createaboveobject(1@[im not even sure if such thing will work while attaching to bone, sounds stupid either way, try removing it, see if thats the problem])070A: AS_actor $PLAYER_ACTOR attach_to_object 1@ offset 0.0 0.0 0.0 on_bone 1 16 perform_animation "NULL" IFP_file "NULL" time 00a93:

 

Link to comment
https://gtaforums.com/topic/461428-game-crashes/#findComment-1060169623
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.