busy-arm-75131
03/26/2023, 1:08 PMbusy-arm-75131
03/26/2023, 1:08 PMflat-egg-44689
03/26/2023, 1:09 PMbusy-arm-75131
03/26/2023, 1:09 PMbusy-arm-75131
03/26/2023, 1:10 PMflat-egg-44689
03/26/2023, 1:11 PMbusy-arm-75131
03/26/2023, 1:12 PMbusy-arm-75131
03/26/2023, 1:13 PMsparse-sugar-43205
03/26/2023, 1:18 PMvictorious-lamp-45130
03/26/2023, 1:30 PMvictorious-lamp-45130
03/26/2023, 1:31 PMstrong-lock-24646
03/26/2023, 2:57 PMstrong-lock-24646
03/26/2023, 3:00 PMsparse-sugar-43205
03/26/2023, 3:22 PMicy-market-37235
03/26/2023, 5:58 PMicy-market-37235
03/26/2023, 5:59 PMnice-stone-1745
03/26/2023, 6:02 PMicy-market-37235
03/26/2023, 6:02 PMicy-market-37235
03/26/2023, 6:03 PMcuddly-table-7819
03/26/2023, 7:48 PMc++
GetPlayerIp(playerid, UserIP[playerid], 20);
// ANTI BOT maxip 2
new IPs=0;
foreach(new i : Player) {
if(IsPlayerConnected(i)) {
if(!strcmp(UserIP[i], UserIP[playerid]))
IPs++;
if(IPs > IPs_Limite) {
SendClientMessage(playerid, COLOR_LIGHTRED, "IPS LIMIT!");
Kick(playerid);
return 1;
}
}
}
is it possible to create a dicionary or anyother way so i can do it without looping for all players to each new player connection?gorgeous-baker-92777
03/26/2023, 7:55 PMnumerous-apple-61061
03/26/2023, 8:26 PMnumerous-apple-61061
03/26/2023, 8:28 PM#if defined ALS_SetPlayerInterior || defined SetPlayerInterior
#undef SetPlayerInterior
#else
#define _ALS_SetPlayerInterior
#endif
#define SetPlayerInterior n_SetPlayerInterior
alert-magazine-20519
03/26/2023, 9:04 PMclever-air-16091
03/26/2023, 9:05 PMalert-magazine-20519
03/26/2023, 9:05 PMcuddly-table-7819
03/26/2023, 9:10 PMbusy-arm-75131
03/26/2023, 9:41 PMbusy-arm-75131
03/26/2023, 9:41 PMbusy-arm-75131
03/26/2023, 9:42 PMplayerIp == otherIp
for comparison