#include <sscanf2>
CMD:kick(playerid, params[]){if(PnDark[playerid][LoggedIn] == 1 && AnDark[playerid][szint] >= 1){new giveplayerid, indok[128], string[120], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if(sscanf(params, \"us[128]\", giveplayerid, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"{DDDDDD}>> Használat: {33AA33}/kick [Játékos ID] [indok]\");if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"{DDDDDD}>> ERROR: {FF4646} Nincs ilyen játékos!\");GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2)); new str[800]; format(str,sizeof(str),\"{DDDDDD}%sAdmin: %s\\n\\nNév: %s\\nIndok: %s\\n{fff200}Ez nem ban vissza tudsz jönni!\",str,name,name2,indok); ShowPlayerDialog(giveplayerid, 4565, 0,\"{FF4646}> KICKED\", str, \"OK\",\"\"); Kick(giveplayerid);}else{SendClientMessage(playerid, 0xFF0000AA, \"{DDDDDD}>> nDarkAdmin: {FF4646}Nem vagy adminisztrátor!\");}return 1;}
CMD:kick(playerid, params[]){ if(PnDark[playerid][LoggedIn] == 1 && AnDark[playerid][szint] >= 1) { new giveplayerid, indok[128], string[120], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if(sscanf(params, \"us[128]\", giveplayerid, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"{DDDDDD}>> Használat: {33AA33}/kick [Játékos ID] [indok]\"); if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000FF, \"{DDDDDD}>> ERROR: {FF4646} Nincs ilyen játékos!\");GetPlayerName(playerid, name, sizeof(name)); GetPlayerName(giveplayerid, name2, sizeof(name2)); new str[800]; format(str,sizeof(str),\"{DDDDDD}%sAdmin: %s\\n\\nNév: %s\\nIndok: %s\\n{fff200}Ez nem ban vissza tudsz jönni!\",str,name,name2,indok); ShowPlayerDialog(giveplayerid, 4565, 0,\"{FF4646}> KICKED\", str, \"OK\",\"\");Kick(giveplayerid); } else { SendClientMessage(playerid, 0xFF0000AA, \"{DDDDDD}>> nDarkAdmin: {FF4646}Nem vagy adminisztrátor!\"); } return 1;}
#include <a_samp>#include <zcmd>#include <sscanf2>#include <dudb>#include <dini>#include <foreach>#include <fixchars.h>#include <F_Menu>#include <mtamap>#include <streamer>
SA-MP Dedicated Server----------------------v0.3e, (C)2005-2012 SA-MP Team[13:28:55] filterscripts = \"\" (string)[13:28:55] [13:28:55] Server Plugins[13:28:55] --------------[13:28:55] Loading plugin: sscanf[13:28:55] [13:28:55] ===============================[13:28:55] sscanf plugin loaded. [13:28:55] (c) 2009 Alex \"Y_Less\" Cole[13:28:55] ===============================[13:28:55] Loaded.[13:28:55] Loading plugin: streamer[13:28:55] *** Streamer Plugin v2.6.1 by Incognito loaded ***[13:28:55] Loaded.[13:28:55] Loading plugin: Whirlpool[13:28:55] [13:28:55] ==================[13:28:55] [13:28:55] Whirlpool loaded[13:28:55] [13:28:55] ==================[13:28:55] [13:28:55] Loaded.[13:28:55] Loading plugin: nativechecker[13:28:55] Loaded.[13:28:55] Loaded 4 plugins.[13:28:55] [13:28:55] Filterscripts[13:28:55] ---------------[13:28:55] Loaded 0 filterscripts.[13:28:55] 196 items loaded from \'Hullamvasut.map\' in 10ms[13:28:55] 370 items loaded from \'AquaPark.map\' in 21ms[13:28:55] Number of vehicle models: 3[13:30:18] Incoming connection: 127.0.0.1:3031[13:30:18] [join] Davee has joined the server (0:127.0.0.1)[13:30:36] [chat] [Davee]: cs[13:30:49] [chat] [Davee]: cs all[13:30:54] [chat] [Davee]: nem[13:32:57] [chat] [Davee]: aConsole input: gmx[13:36:12] 196 items loaded from \'Hullamvasut.map\' in 291ms[13:36:12] 370 items loaded from \'AquaPark.map\' in 93ms[13:36:12] Number of vehicle models: 3[13:37:46] [chat] [Davee]: cs[13:38:38] [chat] [Davee]: a[14:37:44] [chat] [Davee]: asd[14:37:53] RCON (In-Game): Player #0 (Davee) has logged in.[14:37:56] RCON (In-Game): Player [Davee] sent command: gmx[14:38:09] 196 items loaded from \'Hullamvasut.map\' in 299ms[14:38:09] 370 items loaded from \'AquaPark.map\' in 157ms[14:38:09] Number of vehicle models: 3[14:38:27] [chat] [Davee]: asd[14:45:53] [chat] [Davee]: asd[14:45:58] [chat] [Davee]: cs[14:46:10] RCON (In-Game): Player [Davee] sent command: gmx[14:46:22] 196 items loaded from \'Hullamvasut.map\' in 103ms[14:46:22] 370 items loaded from \'AquaPark.map\' in 65ms[14:46:23] Number of vehicle models: 3[14:46:31] [chat] [Davee]: asdConsole input: gmx[14:47:57] 196 items loaded from \'Hullamvasut.map\' in 50ms[14:47:57] 370 items loaded from \'AquaPark.map\' in 116ms[14:47:57] Number of vehicle models: 3[14:48:03] [chat] [Davee]: csá[14:48:39] [chat] [Davee]: xDDConsole input: hostname[15:19:33] hostname = \"[HUN] :: [nDark] :: nExtDark Stunting\" (string)Console input: hostname [HUN] :: [nDark] :: nExtDark Stunting - v1.5.0Console input: hostname [HUN] :: [nDark] :: nExtDark Stunting :: v1.5.0