New pages

Jump to navigation Jump to search
New pages
Hide bots | Show redirects
  • 16:56, 4 March 2026ped.clearAnimations (hist | edit) ‎[444 bytes]Vortrex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = vc sa |type = method |class = Ped |name = clearAnimations |parameters = void |usage = makes the ped stop playing all animations |return1 = void |returnFail1 = void |notes = Play an animation with ped.addAnimation |exampleJSCS = addCommandHandler("stopanim", function(command, params) { localPlayer.clearAnimations(); // GTA Vice City, make your player ped stop using their animations }); }}")
  • 16:31, 4 March 2026ped.addAnimation (hist | edit) ‎[1,298 bytes]Vortrex (talk | contribs) (Created page with "{{ScriptItem2 |endpoint = client |type = method |class = Ped |name = addAnimation |parameters = Int groupId, Int animId |usage = makes the ped play an animation |return1 = void |returnFail1 = void |notes = More than one animation can be applied, which is why the function is called "add animation" instead of "play animation". This usually leads to undesired results as most animation were not designed to be played together. If you want to reset the current animation(s) to...")
  • 11:43, 23 February 2026MinimalResourceSkeleton (hist | edit) ‎[3,282 bytes]PerikiyoXD (talk | contribs) (Created page with "{{DISPLAYTITLE:MinimalResourceSkeleton}} = Minimal Resource Skeleton = This page provides the smallest functional scripted resource required to: * Handle a player joining the server * Spawn the player at a fixed position * Fade in the camera * Log basic server-side activity This is intended as a starting point for custom game modes. == Purpose == When building a custom server mode, you must: * Create a player element * Spawn the player * Fade in the camera * Handl...")
  • 16:10, 2 February 2026Resources/GTAIV/Events (hist | edit) ‎[964 bytes]Vortrex (talk | contribs) (Created page with "0 - REQUEST_CONTROL_EVENT 1 - GIVE_CONTROL_EVENT 2 - OBJECT_ID_FREED_EVENT 3 - WEAPON_DAMAGE_EVENT 4 - REQUEST_PICKUP_EVENT 5 - GAME_CLOCK_AND_WEATHER_EVENT 6 - RESURRECT_PLAYER_EVENT 7 - RESURRECTED_LOCAL_PLAYER_EVENT 8 - GIVE_WEAPON_EVENT 9 - REMOVE_WEAPON_EVENT 10 - REMOVE_ALL_WEAPONS_EVENT 11 - VEHICLE_COMPONENT_CONTROL_EVENT 12 - REQUEST_FIRE_EVENT 13 - START_FIRE_EVENT 14 - REQUEST_EXPLOSION_EVENT 15 - START_EXPLOSION_EVENT 16 - START_PROJECTILE_EVENT 17 - SESSION_...")
  • 02:43, 31 January 2026OnAddIVNetworkEvent (hist | edit) ‎[451 bytes]Vortrex (talk | contribs) (Created page with "{{ScriptItem2 |name = OnAddIVNetworkEvent |side = shared |type = event |games = iv |desc = when a built-in event is sent in GTA IV |arg1 = Client client The client that sent the event |arg2 = Int type The type of event sent |arg3 = String string The name of the client |arg4 = Integer data1 The 1st data arg |arg4 = Integer data2 The 2nd data arg |cancel = true |notes = See the IV events page for a list of event types }}")
  • 04:37, 10 January 2026natives.setStateOfClosestDoorOfType (hist | edit) ‎[1,142 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setStateOfClosestDoorOfType |parameters = int modelHash, Vec3 position, int locked, float state |parameter1 = int modelHash The door model hash (use natives.getHashKey) |parameter2 = Vec3 position The position of the door |parameter3 = int locked 0 = door can move, 1 = door locked (cannot move) |parameter4 = float state 0.0 = door visually closed, 1.0 = door visually open |usage = Control the st...")
  • 00:36, 4 January 2026element.ref (hist | edit) ‎[568 bytes]Vortrex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = property |class = Element |name = ref |returnTypes = int |readonly = true |usage = gets the internal GTA reference ID of the element |returnInfo = the internal GTA reference ID of the element |notes = This is NOT the GTAC element ID!<br>The ref ID here is used in GTA natives for GTA 3, Vice City, and San Andreas |exampleJSCS = addComma...")
  • 12:36, 21 December 2025natives.drawFrontendHelperText (hist | edit) ‎[935 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawFrontendHelperText |parameters = string label, string control, bool show |parameter1 = string label Text label to display (can be a literal or a localized key) |parameter2 = string control Control name to show (e.g. "INPUT_F_ENTER") |parameter3 = bool show Whether to show (true) or hide (false) the helper text |usage = Displays a helper text prompt in the frontend HUD with a control hint |no...")
  • 12:31, 21 December 2025natives.drawColouredCylinder (hist | edit) ‎[1,055 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawColouredCylinder |parameters = Vec3 position, float radius, float height, int r, int g, int b, int a |parameter1 = Vec3 position Coordinates of the cylinder base (x, y, z) |parameter2 = float radius Radius of the cylinder |parameter3 = float height Height of the cylinder |parameter4 = int r Red component (0–255) |parameter5 = int g Green component (0–255) |parameter6 = int b Blue compone...")
  • 12:29, 21 December 2025natives.drawCheckpointWithAlpha (hist | edit) ‎[1,006 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawCheckpointWithAlpha |parameters = Vec3 position, float radius, int r, int g, int b, int a |parameter1 = Vec3 position Coordinates of the checkpoint (x, y, z) |parameter2 = float radius Radius of the checkpoint circle |parameter3 = int r Red component (0–255) |parameter4 = int g Green component (0–255) |parameter5 = int b Blue component (0–255) |parameter6 = int a Alpha component (0–2...")
  • 20:38, 18 December 2025natives.setVehInteriorlight (hist | edit) ‎[546 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setVehInteriorlight |parameters = object vehicle, bool toggle |parameter1 = object vehicle The vehicle |parameter2 = bool toggle True to enable the interior light, false to disable |usage = turn the interior light on/off for a vehicle |notes = This controls the interior light of the specified vehicle. |return1 = void |exampleJS = addCommandHandler("interiorlight", function(command, params, clien...")
  • 04:05, 17 December 2025natives.taskPlayAnimNonInterruptable (hist | edit) ‎[1,425 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.taskPlayAnimNonInterruptable |parameters = object ped, string animName, string animGroup, float speed, int flag1, int flag2, int flag3, int flag4, int unknown |parameter1 = object ped The handle of the ped |parameter2 = string animName The animation's name (e.g. "crim_searched") |parameter3 = string animGroup The animation set/group name (e.g. "cop") |parameter4 = float speed Playback speed mult...")
  • 22:08, 14 December 2025natives.drawCheckpoint (hist | edit) ‎[867 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawCheckpoint |parameters = float x, float y, float z, float radius, int r, int g, int b, int a |parameter1 = float x X coordinate of the checkpoint |parameter2 = float y Y coordinate of the checkpoint |parameter3 = float z Z coordinate of the checkpoint |parameter4 = float radius Radius of the checkpoint circle |parameter5 = int r Red component (0–255) |parameter6 = int g Green component (0...")
  • 22:41, 7 December 2025natives.createCheckpoint (hist | edit) ‎[0 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.drawCheckpoint |parameters = float x, float y, float z, float radius, int r, int g, int b, int a |parameter1 = float x X coordinate of the checkpoint |parameter2 = float y Y coordinate of the checkpoint |parameter3 = float z Z coordinate of the checkpoint |parameter4 = float radius Radius of the checkpoint circle |parameter5 = int r Red component (0–255) |parameter6 = int g Green component (0...")
  • 22:37, 7 December 2025natives.setDisplayPlayerNameAndIcon (hist | edit) ‎[624 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setDisplayPlayerNameAndIcon |parameters = int playerId, bool enable |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 |notes = - Requires natives.displayPlayerNames to be enabled globally - Often combined with natives.givePedFakeNetworkName to...")
  • 22:36, 7 December 2025natives.displayPlayerNames (hist | edit) ‎[479 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.displayPlayerNames |parameters = bool enable |parameter1 = bool enable True to show player names, false to hide them |usage = Toggle global display of player names |notes = - Must be enabled for natives.setDisplayPlayerNameAndIcon and natives.givePedFakeNetworkName to be visible - Acts as a global switch affecting all players |return1 = void |exampleJS = natives.displayPlayerNames(true)...")
  • 22:35, 7 December 2025natives.givePedFakeNetworkName (hist | edit) ‎[887 bytes]ChrisGame20 (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.givePedFakeNetworkName |parameters = Ped ped, string name, int r, int g, int b, int a |parameter1 = Ped ped The ped to assign the fake name to |parameter2 = string name The fake network name to display |parameter3 = int r Red component (0–255) |parameter4 = int g Green component (0–255) |parameter5 = int b Blue component (0–255) |parameter6 = int a Alpha component (0–255) |usage = Assign...")