Jump to content

Maxi.

Membru
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by Maxi.

  1. [pawn]public OnPlayerConnect( playerid ) { gsString[ 0 ] = EOS; new connecting_ip[ 16 ] ; GetPlayerIp( playerid, connecting_ip, 16 ); if ( GetNumberOfPlayersOnThisIP( connecting_ip ) > MAX_CONNECTIONS_FROM_IP ) { format( gsString, 144, ">> Server-Security << :: IP Ban player '%s'. {FFFF00}Reason: Too many connections from this IP", PlayerName( playerid ) ); SendClientMessageToAll( COLOR_ULTRARED, gsString ); BanEx( playerid, "Bots Flood" ); return 1; } format( gsQuery, 512, "SELECT * FROM `Banlist` WHERE `IP` = '%s' OR `Name` = '%s'", connecting_ip, PlayerName( playerid ) ); mysql_query( gsQuery, THREAD_CHECK_BANS_LIST, playerid ); return 1; }[/pawn] Asta imi apare la OnePlayerConnect , fii mai explicit te rog .. sunt nou in lumea scripturilor Deci ... care este problema ? Si , cum o pot repara ?
  2. Salut, am o problema la un server de mod stunt. Problema este legata de connectarea la server .. Deficare data cand intru pe el , cu orice nume as intra , imi da Login in loc de Register .. Ce pot sa fac in privinta asta ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.