ProKreedz Help Thread
I've already tried the same solution, but it doesn't work. I think because player who finished the map may haven't KZ_LEVEL access.
+hook does work when a player is either an admin or a bool which checks the permission for not-admin-players is true. kz_hook does just set that bool to true/false and the code which is used in prokreedz hook is like this:
if(bool == true || player_is_kz_admin_level) -> start hook
the || means "or" so just one of these conditions has to match.
i dont know why my code shouldnt work but many ppl who asked this in amxx forums too did foeget to use ^"PLAYERNAME^" which will print the command this way in the server console:
kz_hook "SOME NAME" on/off
without it would be
kz_hook SOME NAME on/off
this would make the 3rd paramter of the cmd NAME and the nick just SOME so on/off at the end is ignored but the plugin does just check whether parameter 3 is on or off
nevermind! THX A LOT SCHLUMPF! :">
Originally posted by SchlumPF*+hook does work when a player is either an admin or a bool which checks the permission for not-admin-players is true. kz_hook does just set that bool to true/false and the code which is used in prokreedz hook is like this:
if(bool == true || player_is_kz_admin_level) -> start hook
the || means "or" so just one of these conditions has to match.
i dont know why my code shouldnt work but many ppl who asked this in amxx forums too did foeget to use ^"PLAYERNAME^" which will print the command this way in the server console:
kz_hook "SOME NAME" on/off
without it would be
kz_hook SOME NAME on/off
this would make the 3rd paramter of the cmd NAME and the nick just SOME so on/off at the end is ignored but the plugin does just check whether parameter 3 is on or off
tnx, I know how it works. We just talk about different things =) Your code doesn't work on my server, but i've solved this problem in other way.
Shlumpf, if you have some free time, plz script a pro15 4 prokreedz, i tryed, but i had no luck, i dont have that scripting skill yet :D
forget about a pro>15< cause its too much data for the motd which cannot be handled by creating a motd. you would need to save your data in mysql and redirect with /pro15 to a php script
sad, but if you make "top10" & "pro10" 2 separate commands and motd`s i think there shouldnt be any problems
thats right :)
so what about scriptng it shlumpf or someone ? :D
im a amateur scripter, i dont have the skill to script it my self :/
to lazy + i have other amxx things which need to be done first
sry
ok, guess i will continue trying to do it my self :P
1) i want to make the plugin disable automaticly, if its not a kz map, can some1 help me ?
2) can some1 post the code to disable cps while falling, the info is lost from this topic :/ ***nevermind, i just didnt saw it :P***
how can I get TOP10 to work by ip?
i dont know how to use C++ :(
pawn not c##. pawn is absed on small and small on c.
anyway I don't know how to make it work by ip.
I run prokreedz server on LAN.
Ok i added some stuff on my own..
Like if you use Scout/Pick one up/ Start with scout/Finish with Scout
you wont show up on top15
you can do /spec Or /ct to change teams :P
pretty nice
but what i need now is
HOW DO YOU DISABLE CHECKPOINTS IN AIR
And also
how would i make /nub15 For peoples that used CheckPoints
and Top15 For peoples who didnt?
i hope you could code this T_T
how should this part of the code look to update pro10
I dont know what to do in this situation
if(clean) {
new name[32], imin
get_user_name(id,name,32)
//format_time(sztime,16,"%M:%S",get_systime() - timer_time[id-1]) this sucks!
new kreedztime = get_systime() - timer_time[id-1]
if((kreedztime / 60.0) >= 1) {
imin = floatround(kreedztime / 60.0,floatround_floor)
kreedztime -= (floatround(kreedztime / 60.0,floatround_floor) * 60)
}
ColorChat(id, RED, "[OverDose] %s izgaaja mapi %d minuutees un %d sekundees ar %d CP un %d TP.",name,imin,kreedztime,checkpointnum[id-1],gochecknum[id-1]) // kreedztime ist in diesem Fall die uebrigen Sekunden
timer_started[id-1] = false
topten_update(id)
if(gochecknum[id-1] = 0) {
proten_update(id)
}
}@ SchlumPF*
ok sry. :(
your edition? you are again violating the gpl... it includes just code of other plugins or snippets which ahve been posted in this thread.
In some maps Scout is given by default, how could i make to drop scout automaticly. maybe there is some kind of a plugin for these situations, if you know one plz give Link
Please log in to post replies.