public OnPlayerConnect(playerid)
{
new string[85],pname[24];
GetPlayerName(playerid,pname,24);
format(string,sizeof(string),"*** %s hat den Server betreten. (ID:%d)",pname,playerid);
SendClientMessageToAll(COLOR_CON_GREEN,string);
GameTextForPlayer(playerid,"~b~Willkommen auf dem ~r~xTreme~y~Party ~y~ Server!",2500,3);
SendPlayerFormattedText(playerid,"Wilkommen auf dem SexXxy Party Server von [GBC]Gecko!!!! Du bekommst gleich mal 50000$.",0);
SendPlayerFormattedText(playerid,"Willkommen Tippe [/login] um dich einzuloqqen.[/register] Um dich zu Registrieren.",0);
return 1;
}
//------------------------------------------------------------------------------
public OnPlayerDisconnect(playerid, reason)
{
new string[85],pname[24];
switch (reason)
{
case 0:
{
GetPlayerName(playerid,pname,24);
format(string,sizeof(string), "%s hat den Server verlassen. (Timeout)(ID:%d)"pname,playerid);
SendClientMessageToAll(COLOR_RED,string)
}
case 1:
{
GetPlayerName(playerid,pname,24);
format(string,sizeof(string), "%s hat den Server verlassen. (Leaving)(ID:%d)"pname,playerid);
SendClientMessageToAll(COLOR_RED,string);
}
case 2:
{
GetPlayerName(playerid,pname,24);
format(string,sizeof(string), "%s hat den Server verlassen. (Kicked)(ID:%d)"pname,playerid);//lol alles wieder kaputt warte ich brauch zeit
SendClientMessageToAll(COLOR_RED,string);
}
}
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
???
MfG Tuner