Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO .cs}
- 0000:
- repeat
- wait 150
- until 0afa:
- 0B34: samp register_client_command "save" to_label @cmd
- while true
- wait 0
- if 0@ == true
- then
- if 0C89: key_just_pressed 103
- then
- if 00DF: actor $PLAYER_ACTOR driving
- then
- call @SYNC 0
- chatmsg "Date it trailer {00DD00}saved" -1
- 0@ = false
- else
- chatmsg "You not driving" -1
- 0@ = false
- end
- end
- end
- end
- :cmd
- if 0@ == false
- then
- 0@ = true
- else
- 0@ = false
- end
- SAMP.CmdRet()
- :SYNC
- 04C4: store_coords_to 10@ 11@ 12@ from_actor $PLAYER_ACTOR with_offset 0.0 10.0 5.0
- 0B2B: samp 3@ = get_player_id_by_actor_handle $PLAYER_ACTOR
- alloc 4@ 55
- 0BBD: samp store_player 3@ trailer_data 4@
- 0C0D: struct 4@ offset 2 size 4 = 10@
- 0C0D: struct 4@ offset 6 size 4 = 11@
- 0C0D: struct 4@ offset 10 size 4 = 12@
- 0BC5: samp send_trailer_data 4@
- free 4@
- ret 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement