natives.givePedFakeNetworkName

Revision as of 22:35, 7 December 2025 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

natives.givePedFakeNetworkName

Signature: void natives.givePedFakeNetworkName(Ped ped, string name, int r, int g, int b, int a)

Usage: Assign a custom fake network name to a ped with a specified RGBA color

Parameters

Ped ped The ped to assign the fake name to
string name The fake network name to display
int r Red component (0–255)
int g Green component (0–255)
int b Blue component (0–255)
int a Alpha component (0–255)

Return

void