Skip to content

Fairuz-Afdhal/IsPlayerUsingAndroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

WARNING

Some android clients has bypassed this function, please use open.mp IsPlayerUsingOfficialClient() function, you can use both at the same time.

Installation

  1. Load the filterscript
  2. Put the define in your gamemode to make it easier
#define IsPlayerAndroid(%0)                 GetPVarInt(%0, "NotAndroid") == 0

Usage

The script may only be loaded as filterscript because SendClientCheck is only called when you do so, read.

public OnPlayerSpawn(playerid)
{
    if(IsPlayerAndroid(playerid))
        SendClientMessage(playerid, "You're connected from android");
 return 1;
}

About

A filterscript that checks if a player is using android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages