Jump to content

How I can do this [Cleo script] Please help.


Recommended Posts

thread "SUN" :SUN_29wait 0 if and0AB0:   key_pressed 0x72  jf @SUN_29 00C0: set_current_time_hours_to 7 minutes_to 30 052C: set player $PLAYER_CHAR drunk visuals  0set_weather 1 00BC: show_text_highpriority GXT 'CHEAT1' time 1000 flag 1wait 350 :SUN_71wait 0 00C0: set_current_time_hours_to 7 minutes_to 30 052C: set player $PLAYER_CHAR drunk visuals  0 set_weather 1 if and0AB0:   key_pressed 0x79 jf @SUN_71 00BC: show_text_highpriority GXT 'CHEAT8' time 1000 flag 1wait 350 jump @SUN_29 

Hello I have a question and i need help, if anyone can please edit this, I need that this cleo script not only change PLAYER_CHAR drunk visuals 0, I need that when player in car he drive normal, no drunk, but drive normal, because now i didint have drunk on player but in car my drunk level is hight and i cant drive normal, so if anyone can help me. Sorry, my english is bad.

Link to comment
https://gtaforums.com/topic/686826-how-i-can-do-this-cleo-script-please-help/
Share on other sites


{$CLEO .cs}

thread 'SUN'

 

while true

wait 0

if

0256: player $PLAYER_CHAR defined

then

if

0AB0: key_pressed 120// f9 key

then

052C: set player $PLAYER_CHAR drunk visuals 255 //---------- drunken

00BC: show_text_highpriority GXT 'CHEAT1' time 1000 flag 1

end

 

if

0AB0: key_pressed 121// f10 key

then

052C: set player $PLAYER_CHAR drunk visuals 0 //---------- not drunken

00BC: show_text_highpriority GXT 'CHEAT8' time 1000 flag 1

end

 

end

end

Edited by ZAZ

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.