SET CHAR AS MISSION CHAR

From GTAMods Wiki
Revision as of 01:12, 10 April 2009 by Chamber (talk | contribs) (New page: {{Native |np=2 |p1t=integer |p1d=ped handle |p2t=boolean |p2d=true if mission char, false if not}} Before you can use any other SET_CHAR_ functions on a char you didn't create, you have t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SET_CHAR_AS_MISSION_CHAR
Number of parameters: 2
Parameter #TypeDescription
1.integerped handle
2.booleantrue if mission char, false if not
Return value:
TypeDescription
None

Before you can use any other SET_CHAR_ functions on a char you didn't create, you have to set them as mission chars.

So, for instance, if you get a random ped using Template:GET RANDOM CHAR IN AREA OFFSET NO SAVE, you first need to set that ped as a mission char before you can change any of their other flags.

SET_CHAR_AS_MISSION_CHAR is essentially the opposite of Template:MARK CHAR AS NO LONGER NEEDED.