GET NETWORK ID FROM VEHICLE

From GTAMods Wiki
Revision as of 05:06, 13 October 2012 by Buffeting (talk | contribs) (Created page with "{{Native |np=2 |p1t=handle |p1d=car handle |p2t=handle |p2d=variable to store network car handle }} This function will get the handle of a car driven by a network player, and ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GET_NETWORK_ID_FROM_VEHICLE
Number of parameters: 2
Parameter #TypeDescription
1.handlecar handle
2.handlevariable to store network car handle
Return value:
TypeDescription
None

This function will get the handle of a car driven by a network player, and store it to a variable. In order to get other network players car handles, you must first use GET_CAR_CHAR_IS_USING