Help me :)

satsuj

New member
Joined
Jul 23, 2017
Messages
4
Reaction score
0
[font=arial, sans-serif]Hi, I'm newbie and I'd like to know what to start with cleo[/font]
 

_=Gigant=_

Well-known member
Joined
Mar 21, 2017
Messages
353
Reaction score
16
satsuj said:
[font=arial, sans-serif]Hi, I'm newbie and I'd like to know what to start with cleo[/font]

https://www.gtamodding.com/wiki/CLEO/Tutorial

http://gtaforums.com/topic/403594-sa-cleo-script-tutorial/

here my simple health pulse script when defined key is pressed, u can practice to add some text when key is pressed like enabled or disabled, for newbie's 

Code:
wait 0 
print "~R~INFO:BY SATSUJ" 3000


P.S here is list of opcodes which u can combine and try something with them https://www.gtamodding.com/wiki/List_of_opcodes
Code:
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 0 
   SAMP.Available
else_jump @NONAME_2 

:NONAME_15
wait 0 
if and
   Player.Defined($PLAYER_ACTOR)
key_down 69 
else_jump @NONAME_15 
jump @NONAME_46 

:NONAME_46
wait 0 
if 
key_down 69 
else_jump @NONAME_46 
0209: 0@ = random_int_in_ranges 1 100 
Actor.Health($PLAYER_ACTOR) = 0@
0209: 0@ = random_int_in_ranges 1 100 
Actor.Health($PLAYER_ACTOR) = 0@
jump @NONAME_15
good luck  :urtheman:
 

ini

Well-known member
Joined
Sep 28, 2015
Messages
321
Reaction score
115
i recommend you to start something more ussefull , like c++.
 

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
First start from this: http://gtaforums.com/topic/214055-yetis-sa-coding-tutorial-part-one/
Then this >> http://gtaforums.com/topic/214321-yetis-sa-coding-tutorial-part-two/

Then this >> https://www.youtube.com/watch?v=Gte52JR2VeI
Then this >> https://www.youtube.com/watch?v=eDG9KgGoh9w
Then this >> https://www.youtube.com/watch?v=rtiuheyP2GY
Then this >> https://www.youtube.com/watch?v=KYLOkcU2_70

At the Last >> http://www.gtaforums.com/index.php?showtopic=403594

And this might be compulsory: http://ugbase.eu/Thread-Tutorial-0AB1-call-scm-function?highlight=0AB1
The Last one >> http://gtaforums.com/topic/416590-help-with-advanced-memory-access/#entry1059327369

Do not open it until you won't understand and read all of them:
  Congratulations. You're Pro and completed

-Peace!
 
Top