| AdminMod.de https://www.adminmod.de/ |
|
| Wie schalte ich bei adminmod 2.5 timeleft und nextmap aus?? https://www.adminmod.de/viewtopic.php?t=3123 |
Seite 1 von 1 |
| Autor: | [DDs][FMR]NightKiller [ 27.05.2002, 16:42 ] |
| Betreff des Beitrags: | Wie schalte ich bei adminmod 2.5 timeleft und nextmap aus?? |
wie die überschrift sagt: Wie schalte ich bei adminmod 2.5 timeleft und nextmap aus??... |
|
| Autor: | Weltraumratte [ 27.05.2002, 17:34 ] |
| Betreff des Beitrags: | |
Dafür musst du die Datei Plugin_chat.sma aufrufen und folgendes verändern: Code: SayTimeleft() {
new Text[MAX_TEXT_LENGTH];
new Seconds = timeleft(0);
Seconds /= 60;
snprintf(Text, MAX_TEXT_LENGTH, "Time remaining on map: %i minutes", Seconds);
say(Text);
}
zuCode: SayTimeleft() {
new Text[MAX_TEXT_LENGTH];
new Seconds = timeleft(0);
Seconds /= 60;
snprintf(Text, MAX_TEXT_LENGTH, "Time remaining on map: %i minutes", Seconds);
// say(Text);
}
und Code: SayNextMap() {
new Text[MAX_TEXT_LENGTH];
new NextMap[MAX_NAME_LENGTH];
nextmap(NextMap,MAX_NAME_LENGTH);
snprintf(Text, MAX_TEXT_LENGTH, "The next map will be: %s", NextMap);
say(Text);
}
zuCode: SayNextMap() {
new Text[MAX_TEXT_LENGTH];
new NextMap[MAX_NAME_LENGTH];
nextmap(NextMap,MAX_NAME_LENGTH);
snprintf(Text, MAX_TEXT_LENGTH, "The next map will be: %s", NextMap);
// say(Text);
}
Jetzt nur noch die Datei compile_all.bat in diesem Verzeichnis ausführen und die Datei plugin_Chat.amx aus dem Verzeichnis binaries auf den Server in den dlls-Ordner geben, fertig!(Solltest du nicht machen wenn du die Datei schon irgendwie verändert hast) EDIT: Die Datei findest du dort wo du adminmod hin entpackt hast (adminmod/examples) |
|
| Autor: | [DDs][FMR]NightKiller [ 27.05.2002, 17:42 ] |
| Betreff des Beitrags: | hmmm |
ich finde die datei Plugin_chat.sma net |
|
| Autor: | [COLA]*Whiskey [ 27.05.2002, 17:59 ] |
| Betreff des Beitrags: | |
nimm einfach das plugin_chat aus der plugin.ini |
|
| Seite 1 von 1 | Alle Zeiten sind UTC+01:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|