hi i made a simple plugin to just know banlist but i don't know why its repeating( Console ^1PM : ) empty messgae
the last one called jombaz i added this guy just to still know if it will still repeating
banlist
Das Projekt GSManager (vormals ManuAdminMod) wurde am 01.01.2020 eingestellt - diese Internetpräsenz bleibt verfügbar, die Software wird aber nicht länger gepflegt. Vielen Dank für eure Unterstützung in den mehr als zehn vergangenen Jahren!
-
-
-
Hey,
show us the plugin code
-
thanks mirko its works now
but a little console pm : if you helped me i will reall thank for you mirko
when the banlist need to show that no bans in the list of course when the admins type !banlists
its give this empty Pm and then give that no ban list
here the plugin i even don't use !tempban i use !ban because its auto save at main/ban.txt so its bettert then !tempbanSpoiler anzeigen
<?php
$mod->registerCommand("banlists" , false , "banlist_ban");function banlist_ban($guid){
global $mod;
global $players;
$file = @fopen("C:\Users\user\Desktop\Call of Duty 4 - Modern Warfare\main\ban.txt","r");if($file !== false){
while(!feof($file)){$send = trim(fgets($file));
if(substr($send,1) !== ""){
$isend = substr($send,24);
$players[$guid]->say("$isend");
}if(substr($send,1) == ""){
$players[$guid]->say("None From Players Have Last Ban !");
}}
}
}
?> -
Dieses Thema enthält 8 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind, bitte registriere dich oder melde dich an um diese lesen zu können.