Difference between revisions of "GET HASH KEY"
Jump to navigation
Jump to search
Impediment (talk | contribs) (Created page with '{{Native |np=1 |p1t=String |p1d=ModelName (Doesn't appear to be case-sensitive) |r=1 |rt=Integer |rd=HashKey }} This function can be used to get the hash keys that are require…') |
m |
||
Line 5: | Line 5: | ||
|r=1 | |r=1 | ||
|rt=Integer | |rt=Integer | ||
− | |rd=HashKey | + | |rd=[[List_of_models_hashes|HashKey]] |
}} | }} | ||
Latest revision as of 12:19, 18 February 2011
Number of parameters: 1 | ||
---|---|---|
Parameter # | Type | Description |
1. | String | ModelName (Doesn't appear to be case-sensitive) |
Return value: | ||
Type | Description | |
Integer | HashKey |
This function can be used to get the hash keys that are required for spawning peds, vehicles, objects, etc.
Example:
CREATE_CHAR(22, GET_HASH_KEY("IG_Niko"), x, y, z, ped, true)
CREATE_CAR(GET_HASH_KEY("COMET"), x, y, z, vehicle, true)
Can find model names by opening the "peds.ide"/"vehicles.ide" files with Notepad, they are located in the following folders.
GTAIV\common\data\
GTAIV\common\data\
\TLAD\common\data\
\TBoGT\common\data\