ProKreedz Help Thread

Started by faker mapper
07/09/2006 19:42
Page 17 of 21
Silver_Ghost22/05/2008 19:14

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.

SchlumPF22/05/2008 21:18

+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

boom.dll23/05/2008 15:32(edited 23/05/2008 17:49)

nevermind! THX A LOT SCHLUMPF! :">

Silver_Ghost27/05/2008 14:34(edited 27/05/2008 14:38)

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.

tolsty28/05/2008 21:17

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

SchlumPF28/05/2008 21:52

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

tolsty31/05/2008 22:15

sad, but if you make "top10" & "pro10" 2 separate commands and motd`s i think there shouldnt be any problems

SchlumPF01/06/2008 13:40

thats right :)

tolsty05/06/2008 14:50

so what about scriptng it shlumpf or someone ? :D
im a amateur scripter, i dont have the skill to script it my self :/

SchlumPF05/06/2008 17:59

to lazy + i have other amxx things which need to be done first
sry

tolsty05/06/2008 18:47

ok, guess i will continue trying to do it my self :P

tolsty16/06/2008 19:21(edited 20/06/2008 20:20)

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***

slipkn6t18/06/2008 16:23

how can I get TOP10 to work by ip?
i dont know how to use C++ :(

SchlumPF19/06/2008 22:19

pawn not c##. pawn is absed on small and small on c.

slipkn6t21/06/2008 16:54

anyway I don't know how to make it work by ip.
I run prokreedz server on LAN.

dekken204/07/2008 15:00(edited 04/07/2008 21:59)

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

tolsty11/07/2008 22:21

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)
}

}

VipKiller17/07/2008 21:15(edited 17/07/2008 22:00)

@ SchlumPF*
ok sry. :(

SchlumPF17/07/2008 21:29

your edition? you are again violating the gpl... it includes just code of other plugins or snippets which ahve been posted in this thread.

tolsty19/07/2008 11:05

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

Page 17 of 21

Please log in to post replies.