Guten Tag ich habe da ein probelm wen ich diesen befehl nutze passiert i-wie garnicts und der server geht aus
der befehl :
dcmd_kick(playerid,params[])
{
if(Spieler[playerid][Adminlevel] >= 3)
{
new pID, grund, string[128];
if(sscanf(params,"us",pID,grund))return SendClientMessage(playerid,Orange,"Benutzung: /kick [SpielerID] [Grund]");
format(string,sizeof(string),"%s wurde von %s vom Server gekickt. Grund: %s.",GetSpielerName(pID),GetSpielerName(playerid),grund);
if(IsPlayerConnected(pID))
{
Kick(pID);
SendClientMessageToAll(Orange,string);
}
return 1;
}
else
{
SendClientMessage(playerid,Rot,"Sie haben nicht die nötigen Rechte um diesen Befehl nutzen zu können.");
return 1;
}
}
Server.log:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[20/08/2012 23:47:23]
[20/08/2012 23:47:23] Server Plugins
[20/08/2012 23:47:23] --------------
[20/08/2012 23:47:23] Loading plugin: streamer.so
[20/08/2012 23:47:23]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[20/08/2012 23:47:23] Loaded.
[20/08/2012 23:47:23] Loading plugin: sscanf.so
[20/08/2012 23:47:23]
[20/08/2012 23:47:23] ===============================
[20/08/2012 23:47:23] sscanf plugin loaded.
[20/08/2012 23:47:23] (c) 2009 Alex "Y_Less" Cole
[20/08/2012 23:47:23] 0.3d-R2 500 Players "dnee"
[20/08/2012 23:47:23] ===============================
[20/08/2012 23:47:23] Loaded.
[20/08/2012 23:47:23] Loaded 2 plugins.
[20/08/2012 23:47:23]
[20/08/2012 23:47:23] Ban list
[20/08/2012 23:47:23] --------
[20/08/2012 23:47:23] Loaded: samp.ban
[20/08/2012 23:47:23]
[20/08/2012 23:47:23]
[20/08/2012 23:47:23] Filterscripts
[20/08/2012 23:47:23] ---------------
[20/08/2012 23:47:23] Loading filterscript 'ls_elevator.amx'...
[20/08/2012 23:47:23] Loading filterscript 'gl_realtime.amx'...
[20/08/2012 23:47:23] Loaded 2 filterscripts.
[20/08/2012 23:47:23]
==================================
[20/08/2012 23:47:23] Stunting Script
[20/08/2012 23:47:23] Selfmade by D.Fence
[20/08/2012 23:47:23] ==================================
[20/08/2012 23:47:23] Number of vehicle models: 18
[20/08/2012 23:47:51] Incoming connection: 178.3.30.202:50757
[20/08/2012 23:47:52] [join] [N.L.S]D.Fence has joined the server (0:178.3.30.202)
[20/08/2012 23:48:20] Incoming connection: 91.97.8.87:56158
[20/08/2012 23:48:20] [join] [N.L.S]Xeno has joined the server (1:91.97.8.87)
kan jemand helfen wäre nett