Szerző Téma: Server closed the connection!  (Megtekintve 898 alkalommal)

Server closed the connection!
« Dátum: 2012. Június 05. - 16:26:14 »
0
hi!
meglehet csinálni azt hogy amikor valaki lelép akkor csak neki irja ki és szinessel:  {FF0000}Server {FFFFFF}closed {33FF33}the {0019fc}connection!

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Server closed the connection!
« Válasz #1 Dátum: 2012. Június 05. - 16:29:05 »
0
Semmi értelme, mert õ már nem látja.

Nem elérhető zeteni

  • 1970
  • Ex-Scripter
    • Profil megtekintése
Server closed the connection!
« Válasz #2 Dátum: 2012. Június 05. - 16:29:38 »
0
#include <a_samp>
public OnPlayerDisconnect(playerid, reason)
{
SendClientMessage(playerid, -1, \"{FF0000}Server {FFFFFF}closed {33FF33}the {0019fc}connection!\");
return 1;
}

 

Dupla hozzászólás automatikusan összefûzve. ( 2012. Június 05. - 16:30:04 )

Idézetet írta: Flash date=1338906545\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"22435\" data-ipsquote-contentclass=\"forums_Topic
Semmi értelme, mert õ már nem látja.
 
Amúgy igaz XD

Server closed the connection!
« Válasz #3 Dátum: 2012. Június 05. - 19:26:03 »
0
elirtam nem mikor lelÉP hanem mikor valaki kickeli vgy bannolja vagy mikor bezár a szerver akkor szinessel irja ki!

Nem elérhető Gabor..

  • 1883
  • Gabor..
    • Profil megtekintése
Server closed the connection!
« Válasz #4 Dátum: 2012. Június 05. - 19:36:16 »
0

#include   <    a_samp    >
#include   <    zcmd      >
#include   <    sscanf2   >
CMD:kick( playerid, params[] )
{
    new
           iPlayer,
           szIndok[ 50 ];
    if( sscanf( params, \"us[50]\", iPlayer, szIndok ) ) return SendClientMessage( playerid, 0xFF0000AA, \"Használat: /kick <Játékos ID> <Indok>\" );
    if( iPlayer == INVALID_PLAYER_ID ) return  SendClientMessage( playerid, 0xFF0000AA, \"HIBA: Nem létezõ azonosító!\" );
    SendClientMessage( iPlayer, -1, \"{FF0000}Server {FFFFFF}closed {33FF33}the {0019fc}connection!\" );
    Kick( iPlayer );
    return 1;
}

Így. Ha a szürke kiírást elakarod tûntetni, az nem fog menni, max ha belenyúlsz a samp forráskódba. :D
« Utoljára szerkesztve: 2012. Június 05. - 19:55:39 írta Gabor.. »

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Server closed the connection!
« Válasz #5 Dátum: 2012. Június 05. - 22:35:05 »
0
Meg lehetne másképpen is szerintem.

Nem elérhető Norby

  • 1575
    • Profil megtekintése
Server closed the connection!
« Válasz #6 Dátum: 2012. Június 06. - 15:58:16 »
0
Ezt az alap szerver üzenetet nem lehet megváltoztatni!
Ahogy Gabor mondta csak ha belenyúlsz a SA-MP forráskódba...

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Server closed the connection!
« Válasz #7 Dátum: 2012. Június 06. - 18:16:40 »
0
Igen de úgy tudom, Hogy az C++ nyelven van?

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal