Server restart
#1

My server restart everytime i use /kick

Heres the code of kick

pawn Код:
CMD:kick(playerid, params[])
{
    new string[128], str[356], id, reason[128];
    if(PlayerAcc[playerid][Log] == 0) return SendClientMessage(playerid, COLOR_RED, "Error: You are not logged in!");
    if(PlayerAcc[playerid][Admin] >= 1)
    {
        if(sscanf(params, "us[128]", id, reason)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /kick (id) (reason)");
        if(PlayerAcc[playerid][Admin] < PlayerAcc[id][Admin]) return ErrorMessages(playerid, 3);
        if(id == INVALID_PLAYER_ID) return ErrorMessages(playerid, 2);
        if(id == playerid) return ErrorMessages(playerid, 4);
        format(str, sizeof(str), "%s(%d) has been kicked by Administrator %s(%d) (Reason: %s)", GetName(id), id, GetName(playerid), playerid, reason);
        SaveIn("kicklog", str);
        format(string, sizeof(string), "You kicked %s(%d) (Reason: %s)", GetName(id), id, reason);
        SendClientMessage(playerid, COLOR_RED, string);
        format(string, sizeof(string), "%s(%d) has been kicked by Administrator %s(%d) (Reason: %s)", GetName(id), id, GetName(playerid), playerid, reason);
        SendClientMessageToAll(COLOR_GREY, string);
        format(string, sizeof(string), "You have been kicked by Administrator %s(%d) (Reason: %s)", GetName(playerid), playerid, reason);
        SendClientMessage(id, COLOR_RED, string);
        Kick(id);
    }
    else return ErrorMessages(playerid, 1);
    return 1;
}
Heres the server log

Код:
[04:58:48] Don't know all commands?, /help
[04:58:43] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to 50.19.227.63:6667...
[04:58:37] [part] StupidGuyLikeMe has left the server (2:0)
[04:58:23] *** IRC_OnDisconnect: Bot ID 1 disconnected from 46.137.23.30:6667 (End of file)
[04:57:51] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to 46.137.23.30:6667...
[04:57:49] [chat] [StupidGuyLikeMe]: asd
[04:57:36] [chat] [StupidGuyLikeMe]: Kakashi, change the weburl
[04:57:31] *** IRC_OnDisconnect: Bot ID 1 disconnected from 46.137.23.30:6667 (End of file)
[04:57:28] [join] StupidGuyLikeMe has joined the server (2:60.51.102.113)
[04:57:28] Incoming connection: 60.51.102.113:65047
[04:57:09] [chat] [Sakura]: [DC]Ken_Block
[04:56:58] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to 46.137.23.30:6667...
[04:56:56] [join] [DC]Ken_Block has joined the server (1:117.197.166.135)
[04:56:54] Incoming connection: 117.197.166.135:60582
[04:56:47] [join] Sakura has joined the server (0:103.14.63.237)
[04:56:46] Incoming connection: 103.14.63.237:4322
[04:56:38] Number of vehicle models: 0

AWESOME STUNT PARADISE 2012
[04:56:38] 

[04:56:38] Awesome Stunt Paradise 2012 successfully loaded!
[04:56:38] Date: 03/10/2012 | Time: 04:56:38
[04:56:38] Total Duration of Loading All Files from Server: 1 ms
[04:56:38] Total Commmands (All Commands) from the Server: 194 commands
[04:56:38]  
[04:56:38]  MaxPing:      [0]  ReadPms:     [Off]
[04:56:38]  AutoLogin:    [On]  ReadCmds:    [On]

[04:56:38] >>> RomAdmin Loaded Configurations <<<:
[04:56:38]  
[04:56:38] Configuration files from 'Server/Config/config.cfg' are now loaded, Server Loaded!

[04:56:38] Loading the Status of Server with RomAdmin:
[04:56:38] Awesome Stunt Paradise 2012

Origin Hot Stunt presents rebuilt script...
[04:56:38] 
[04:56:38]  
[04:56:38]  ======================================= 
[04:56:38]  |                                     | 
[04:56:38]  |        By Alex "******" Cole        | 
[04:56:38]  |        YSI version 1.04.0000        | 
[04:56:38]  |                                     | 
[04:56:38]  ======================================= 
[04:56:38]  

[04:56:38]   Loaded 1 filterscripts.
[04:56:38] GeoIP script by Slice loaded.
[04:56:38]   Loading filterscript 'GeoIP.amx'...
[04:56:38] ---------------
[04:56:38] Filterscripts
[04:56:38] 
[04:56:38] 
[04:56:38]  Loaded: samp.ban
[04:56:38] --------
[04:56:38] Ban list
[04:56:38] 

[04:56:38]  Loaded 4 plugins.
[04:56:38]   Loaded.

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[04:56:38] 
[04:56:38]  Loading plugin: streamer.so
[04:56:38]   Loaded.

*** IRC Plugin v1.4.3 by Incognito loaded ***

[04:56:38] 
[04:56:38]  Loading plugin: irc.so
[04:56:38]   Loaded.
[04:56:38]  
[04:56:38]  ==================
[04:56:38]  
[04:56:38]   Whirlpool loaded
[04:56:38]  
[04:56:38]  ==================
[04:56:38]  
[04:56:38]  Loading plugin: whirlpool.so
[04:56:38]   Loaded.

[04:56:38]  ===============================

[04:56:38]    0.3d-R2 500 Players "dnee"

[04:56:38]    © 2009 Alex "******" Cole

[04:56:38]       sscanf plugin loaded.     

[04:56:38]  ===============================

[04:56:38] 
[04:56:38]  Loading plugin: sscanf.so
[04:56:38] --------------
[04:56:38] Server Plugins
[04:56:38] 

v0.3e-R2, ©2005-2012 SA-MP Team
----------------------
SA-MP Dedicated Server

----------
Loaded log file: "server_log.txt".
----------
Reply


Messages In This Thread
Server restart - by JaKe Elite - 03.10.2012, 11:42
Re: Server restart - by Roel - 03.10.2012, 11:46
Re : Server restart - by lelemaster - 03.10.2012, 11:46
Re: Server restart - by KingHual - 03.10.2012, 11:51
Re: Server restart - by JaKe Elite - 03.10.2012, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)