• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] check sa-mp mobile players
#1
How to check is player connected with sa-mp mobile?

--------------------------------------------------------

2023 UPDATE:
PHP Code:
#if !defined gpci
    native gpci(playeridserial[], len);
#endif

IsPlayerUsingSAMPLauncher(playerid)
{
//Checks if player connected with android mobile using the app SAMP Launcher
//https://play.google.com/store/apps/details?id=ru.unisamp_mobile.launcher&hl=en&gl=US&pli=1

new
szSerial[41]
;

gpci(playeridszSerialsizeof(szSerial));

if(
strcmp("ED40ED0E8089CC44C08EE9580F4C8C44EE8EE990"szSerialtrue)) 
{
return 
1;
}

return 
0;

  Reply


Messages In This Thread
check sa-mp mobile players - by Radical - 2021-07-25, 07:03 PM
RE: check sa-mp mobile players - by Pinch - 2021-07-25, 10:41 PM
RE: check sa-mp mobile players - by Radical - 2021-07-27, 12:29 AM
RE: check sa-mp mobile players - by Radical - 2021-07-28, 01:28 PM

Forum Jump: