#1 Re: GTA Modding » Sanny Builder / CLEO discussion » 16-07-2010 12:09

I want to show a text box with some options [just like ammu-nation where we can select weapons].How can I show them with cleo?

#2 GTA Modding » Showing Text » 16-07-2010 08:27

gtamgthedevelopers
Replies: 2

I want to show a text box with some options [just like ammu-nation where we can select weapons].How can I show them with cleo?

#3 GTA Modding » Can not release model » 15-07-2010 13:37

gtamgthedevelopers
Replies: 1

I have created this simple code. This run properly except after killing both the char and destroying the bike in the game the models are not released. I have teleported to even in the countryside and then come back, but it stayed there. So how can I release them?
I have seen that if models are not released then after creating a lots of them there remains no vehicles in San Andreas. And if I dont stop creating then after some time the game crashes.Why is this happened?

Here is the code 

{$Cleo}
0000:
0A95: enable_thread_saving
 
:CHECK_00
0001: wait 1000 ms 
023C: request_special_actor 'SMOKE' as 1
023C: request_special_actor 'TORINO' as 2
0247: load_model #PCJ600 
00D6: if  and
023D:   special_actor 1 loaded 
023D:   special_actor 2 loaded
0248:   model #PCJ600 available
004D: jump_if_false @CHECK_00

00A5: 0@ = create_car #PCJ600 at 2498.957 -1668.9901 13.3481 
0129: 3@ = create_actor_pedtype 8 model #SPECIAL02 in_car 0@ driverseat 
01C8: 2@ = create_actor_pedtype 8 model #SPECIAL01 in_car 0@ passenger_seat 0 

0296: unload_special_actor 1 
0296: unload_special_actor 2
0249: release_model #PCJ600 

0A93: end_custom_thread

Board footer

Powered by FluxBB