hmm geht das nich ganz normal da das doch über am geht ?
Oder muss man jez die verzögerung an sm vornehmen ?
*nixplanhab*
EDIT:
Kann man das nich wie hier machen, das hat ne verzögerungszeit von 30 sec :
Code:
/* This plugin was made by: Sharpsniper it is a revision of Fah-Q[Dio]' plugin but this * pluin announces every person that connects to your server in a typesay form and * greets them.
* Plugin Created: October 13, 2001, 12:48 AM
* Sharpsniper: $harp$sniper Enjoy!
* Changes Made: Announce Delay is now 30 seconds, Everyone gets announced
*/
#include <core>
#include <console>
#include <string>
#include <admin>
#include <adminlib>
#define ACCESS_ALL 0
#define ANNOUNCE_DELAY 30
new STRING_VERSION[MAX_DATA_LENGTH] = "2.50.07";
plr_announce(strName[], lConnect=0) {
new Text[MAX_TEXT_LENGTH] = "";
new Name[ MAX_NAME_LENGTH ];
new iUserID;
new iWONID;
new maxplayers = maxplayercount();
if (lConnect == 1) {
strcat(Text, strName,MAX_DATA_LENGTH);
strcat(Text," hat den Server betreten.^n",MAX_DATA_LENGTH);
strcat(Text, "Selam Aleikum auf dem Clanserver von TeamArab!",MAX_DATA_LENGTH);
for( new i = 1; i <= maxplayers; i++ )
{
if( playerinfo(i, Name, MAX_NAME_LENGTH, iUserID, iWONID ) ) {
playsound(Name, "misc/gong.wav" );
}
}
} else {
strcat(Text, strName,MAX_DATA_LENGTH);
strcat(Text, " hat den Server verlassen.^n",MAX_DATA_LENGTH);
strcat(Text, "Und fuer die andern gehts jetzt weiter.",MAX_DATA_LENGTH);
for( new i = 1; i <= maxplayers; i++ )
{
if( playerinfo(i, Name, MAX_NAME_LENGTH, iUserID, iWONID ) ) {
playsound(Name, "misc/comeagain.wav" );
}
}
}
typesay(Text, 7, 12, 125, 12);
}
public plugin_connect(HLUserName,HLIP,UserIndex) {
new strName[MAX_NAME_LENGTH];
convert_string(HLUserName, strName, MAX_NAME_LENGTH);
set_timer("ann_timer",ANNOUNCE_DELAY, 1, strName);
return PLUGIN_CONTINUE;
}
public plugin_disconnect(HLUserName, UserIndex) {
new strName[MAX_NAME_LENGTH];
convert_string(HLUserName, strName, MAX_NAME_LENGTH);
if (access(ACCESS_ALL, strName)!=0)
plr_announce(strName, 0);
return PLUGIN_CONTINUE;
}
public ann_timer(Timer,Repeat,HLName,HLParam) {
new strName[MAX_NAME_LENGTH];
convert_string(HLParam,strName,MAX_NAME_LENGTH);
if (access(ACCESS_ALL, strName)!=0)
plr_announce(strName, 1);
}
public plugin_init() {
plugin_registerinfo("Client Connect Greeting!","Announces and Greets Every Player That Connects!",STRING_VERSION);
return PLUGIN_CONTINUE;
}
Würde mich über antwort freuen...
_________________
<werbung>
www.teamarab.de
62.4.81.251:27085 #teamarab.de | Doenerbude
62.4.74.200:27020 #teamarab.de | Muckibude
80.239.224.29:27700 - #teamarab.de ][ Muckibude | bY quado.net -
#teamarab.de @ Q - Net
</werbung>