GetPlayerByName

From GT-MP
Jump to: navigation, search
GetPlayerByName
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Client-side Function Description

Syntax

API.getPlayerByName(string name);

Required Arguments

  • name: parameter input should be in string type.

NOTE: This function returns data in LocalHandle type.

Usage example(s)

API.getPlayerByName(string name);

References