• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] How to detect sampcac
#2
if you still need it:


Code:
stock PlayerName(playerid)
{
new target_name[MAX_PLAYER_NAME];
GetPlayerName(playerid,target_name,MAX_PLAYER_NAME);
return target_name;
}

public OnPlayerConnect(playerid)
{
new string[128];
format(string, sizeof(string), "%s has joined the server with sampcac." PlayerName(playerid));

if (CAC_GetStatus(playerid))
SendClientMessageToAll(-1, string);

return 1;
}
  Reply


Messages In This Thread
How to detect sampcac - by sampaux - 2021-02-06, 07:01 AM
RE: How to detect sampcac - by destiezk - 2021-02-20, 09:08 PM

Forum Jump: