53
edits
ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.changeCarColour |parameters = Vehicle vehicle, int primaryColor, int secondaryColor |parameter1 = Vehicle vehicle The vehicle |parameter2 = int primaryColor The primary color index |parameter3 = int secondaryColor The secondary color index |usage = Change the primary and secondary colors of a vehicle |notes = Color indices usually range from 0 to 133 in GTA IV |return1 = void |exampleJS = addCom...") |
ChrisGame20 (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
|games = iv | |games = iv | ||
|type = function | |type = function | ||
|name = natives. | |name = natives.setDisplayPlayerNameAndIcon | ||
|parameters = | |parameters = int playerId, bool enable | ||
|parameter1 | |parameter1 = int playerId The player index to affect | ||
|parameter2 = bool enable True to show the name and icon, false to hide | |||
| | |usage = Display or hide the player’s name and icon above their ped | ||
|usage = | |notes = playerId must be a valid client index | ||
|notes = | |||
|return1 = void | |return1 = void | ||
|exampleJS = | |exampleJS = natives.setDisplayPlayerNameAndIcon(localPlayer.id, true); | ||
}} | }} | ||
edits