GET HASH KEY
Revision as of 03:40, 18 February 2011 by 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…')
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\