Talk:01B2

From GTAMods Wiki
Jump to navigation Jump to search

Just a short comment towards the example in the topic... Using OpCode 038B you don't have to check neither a model is loaded or not.

Example:

:LoadModel
0247: load_model #BFORI
0247: load_model #COLT45
038B: load_requested_models 

:UseModel
009A: 0@ = create_actor_pedtype 5 model #BFORI at 0.0 0.0 0.0
01B2: give_actor 0@ weapon 22 ammo 100
0249: release_model #BFORI
0249: release_model #COLT45
004E: end_thread

--Aschratt 20:28, 9 Apr 2008 (BST)