Coding

 Reply to this postStart new topic

Load IPL File

BnB
post Apr 10 2011, 12:48 PM
Post #1


The New Guy!

Posts: 8
From: Greece
Joined: 4-August 10



CODE
005b8700    916    $_loadIplFile

How can I use this? Needed params etc.
Go to the top of the page
 
+Quote Post
fastman92
post Apr 10 2011, 01:17 PM
Post #2


Trained Member

Posts: 77
Joined: 25-October 10



No need, you have opcodes:
SANNY
04ED: load_animation "LOWRIDER"
04EE:   animation "GANGS" loaded
04EF: release_animation "LOWRIDER"

You need to load IFP files which are in IMG files.
ped.ifp is in anim folder, not in IMG so you don`t need to load ped.ifp (game will crash, because it would search for ped.ifp file in IMG archives).
Go to the top of the page
 
+Quote Post
BnB
post Apr 10 2011, 01:30 PM
Post #3


The New Guy!

Posts: 8
From: Greece
Joined: 4-August 10



I am talking about IPL files. wacko.gif
Go to the top of the page
 
+Quote Post
Deji
post Apr 10 2011, 02:04 PM
Post #4


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



Pass a pointer to a string with the IPL filepath. The filepath is relative to the GTASA folder (use the gta.dat lines as an example).

With CLEO 4 you can just pass a string (CLEO 4 handles pointer conversion automatically) but with CLEO 3, you have to use thread memory.


--------------------
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: