San Andreas / Araçlar / Yeni Araç, Harita, Mod vb. Oluşturma Araçları

CLEO Code Generator (BETA)


  • Ultrascripter | yükleyen: UltraScripter
  • 01/30/2017
  • 35848 İndirme

Puanlamalar:

Lütfen önce giriş yap.


Favoriler:

İndir
102.11Kb

Videolar

Henüz hiç video eklenmedi.
Bu moda video eklemek için giriş yapmış olman gerekir.

Açıklama

This tool will generate cleo scripts for you

Those scripts have been tested by me and work fine

-UltraScripter.

Şu ana kadar 2 yorum gönderilmiş.

LegendPhoenixMod yapımcısı rozeti
Crew Enforcer
3
Profil
09/24/2017 18:51

goodidea82 you r wrong. The Opcode 038B freezes the game until all models queued in loading are completely loaded into the memory. Then the game continues.
Its not wrong at all, but using if clause is more performant.

Alıntı yap | Cevapla | (7)
goodidea82Mod yapımcısı rozeti
Kingpin
78
Profil
01/31/2017 20:51

The code in the screenshot requests loading a model, but it does not check if the model has actually been loaded.

You should also use high-level programming structures for the loop, rathern than using a label and a jump.

Use const ... end and var...end to declare variables.

You display the red marker at fixed coordinates, but the player could be anywhere. It would be better to display the marker somewhere near to the player actor.

I really like the general idea of your tool, as it may give people an entry point to cleo programming, However, I really advise to discuss the code examples with some experienced cleo programmers (For example here: http://gtaforums.com/forum/317-coding/). It is important that new progrogrammers have examples that show good programming style, otherwise we will get tons of trash mods.
(Also it would be great if you add a link to a cleo tutorial in your tool)

Alıntı yap | Cevapla | (11)