problem solved the error was editing in php and manuadminmod
Beiträge von GumGes1
-
-
lol ok then give me id and pass
-
I don't know what you want to do
i need to do plugin that say's if i type !finde <player_name> it will be show up his name even if he is offline or online
or i can use !register too and thanks for parse
i need a function to read the admin.cfg or in logfiles registerplayers.log if you know how to read logfiles srsly i will be really super happy
note : registerplayers.log that mean when players said !register he will be saved with number and name but i finished that
i need now to create function read the logfiles or admins.cfg thanks -
hello
guys i need to know if configdir reads only plugins or i can add someting.cfg because i am writing a plugin !find <Player_Name> but the MAM can't read the
admins.cfg because when the player joined he will be auto saved at admins.cfg as default can some one help me please
i'll give example :Spoiler anzeigen
the $configdir can't read something.cfg or only something.lst or something return to plugin ? -
do you have teamviewer ? i can fix for you in teamviewer if you want
-
what did you change i just said check the link for php did you change some thing and what version with mam you are using if 0.12 beta i have good php for this version but if its high then 0.12beta so my php not good for high then 0.12 beta and give me the php name that you download it is php-5.5.14-src ?
-
i think you downloaded the wrong php version did you downloaded the VC11 x86 Thread Safe (2014-Jun-25 23:06:26)
and check this please http://www.manuadminmod.de/lexicon/index.…ng-PHP-Windows/ -
ohh ok thanks
-
you can download php from http://windows.php.net/download/
VC11 x86 Thread Safe (2014-Jun-25 23:06:26) -
yes last stand its a perk but you defined a weapons you can't define perks ?
-
You can't restrict Juggernaut and Last Stand as we can't determine when someone is using it.
hi dennis but how you guys determined RPG,RPD.. and the others
if you defined a weapon ak-74 or anyweapon so why you can't define laststand ? -
ohh sorry
and thanks for this info yenz -
thanks Yenz for your reply
but not works i added the registerCommand and in line 5 i set $ban to $bans and trim($bans) and i put function name and ... not works
but no problem i will try to recode all and understand what the problemthanks MirKo911 thanks Yenz
-
thanks for you reply mirko
but its not works
but i think that cause i use while ()i should add the if function down the while function
Zitatwhile(bla bla){
}
if(bla == "") ==> that mean empty
should be like that ?
or inside the while function because the while repeating -
so what do you exactly want?
Show all bans of your banlist
Or check if a player with this name has a ban?and why do you use the first 24 chars of a line? A guid has 32 chars, a has a max char length of 15
i need to stop this console PM : empty message its comes 2 pm 1 is empty and the another 1 its show if banlist empty or not
i do 24 chars that mean its read the last 8 chars from the guid player then its show the name its works but the empty message really love to remove -
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 !");
}}
}
}
?> -
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 -
use in chat !cmdlist
and if you want to set your self admin you can use this
go to mam_1.0.0-beta+4\logfiles\daemon\mod open the mod.log at notepad search at your name your in-game name they will show in welcome message your name and guid and pid copy paste guid here
Spoiler anzeigen
[paste here the guid you copy]
group = "master"
names = "ganbel"//just choose any name here
protected = 1
check now -
use notpad ++ you can download from here if its works for you : http://notepad-plus-plus.org/
-
"As The Administrator Said"
omg
who said that i am supported the leaked plugins i said i need to use it when the newest released i will download it
Edit : that's my last post for you i don't need to get warn because something little have fun !
i told you to learn read but you didn't