Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: kicka
1. [INNE] Powód Bana i Kicka dla gracza
Siema ;)

Jak zrobi? widoczny pow?d kicka i bana dla gracza ?
Chyba wiecie o co mi chodzi.

?eby wy?wietla?o np.

Kod:

Zosta?e? wyrzucony xx xx x x x
2. Powód kicka / bana / warna
Witam serdecznie.

Jak zrobi? co? takiego ?e jak dam kicka dla jakiego? gracza to ?eby wy?wietla?o na czacie "Administrator #$%$#% da? kicka dla $%#$#$ pow?d: #@$@#$" ?

+ Jak doda? system warn?w ? 3 warny = ban na serial ?

Pozdrawiam :)
3. [DM] Kicka po zalogowaniu
Siema posiadam mapke exe.
Wbijam na serwer loguje si? i nagle kick.
[code]LoginRegisterCommands(playerid, cmdtext[]){
new cmd[256], idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/register", true) == 0 || strcmp(cmd, "/rejestruj", true) == 0){
new tmp[256];
tmp = strtok(cmdtext, idx);
if(25 < strlen(tmp) || strlen(tmp) < 3)return SendClientMessage(playerid, POL_ZIELONY, "*** Has?o nie mo?e byc kr?tsze niz 3 i d?usze niz 25 znak?w.");
if(isnull(tmp))return SendClientMessage(playerid, COLOR_WHITE, "*** U?yj: /Register [has?o]");
if(dini_Exists(udb_encode(PlayerName(playerid))))return SendClientFormatMessage(playerid, CWARN, "* %s Konto O Takiej Nazwie Jest Juz Zarejestrowane", PlayerName(playerid));
dini_Create(udb_encode(PlayerName(playerid)));
dini_IntSet(udb_encode(PlayerName(playerid)), "password", udb_hash(tmp));
dini_Set(udb_encode(PlayerName(playerid)), "HasloPrzyRejestracji", tmp);
dini_Set(udb_encode(PlayerName(playerid)), "haslo2", tmp);
printf("%s (id: %d) utworzy?e? nowe konto. Twoje has?o to >>> %s <<< Zapami?taj je.", PlayerName(playerid), playerid, tmp);
new actkey[256];
format(actkey,256,"%d-%d-%d-%d-%d",random(9999),random(9999),random(9999),random(9999),random(9999)/*,random(9999),random(9999),random(9999),random(9999),random(9999)*/);
SendClientFormatMessage(playerid, CINFO...