-
Notifications
You must be signed in to change notification settings - Fork 2
IsPlayerUsingSampMobile
Adib edited this page Nov 4, 2023
·
2 revisions
Is the player use sa-mp mobile?
bool: IsPlayerUsingSampMobile(playerid)| Params | Definition |
|---|---|
| playerid | The id of the player |
true if player using sa-mp mobile, otherwise false
public OnPlayerSpawn(playerid)
{
if(IsPlayerUsingSampMobile(playerid))
{
SendClientMessage(playerid, -1, "You are using SA-MP Mobile client!");
}
}