• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] kick a player when the client different version connects
#1
public OnPlayerConnect(playerid)

{

? ? new

? ? ? ? string[24];

? ? GetPlayerVersion(playerid, string, sizeof(string));

? ? format(string, sizeof(string), "Your version of SA-MP: %s", string);

? ? SendClientMessage(playerid, 0xFFFFFFFF, string);

? ? // possible text: "Your version of SA-MP: 0.3.7"

? ? return 1;

}






what next?
  Reply


Messages In This Thread
[SOLVED] kick a player when the client different version connects - by PutuSuhartawan - 2021-04-07, 05:31 AM

Forum Jump: