ProKreedz Help Thread
2 solutions.
1. hud_centerid 0 in client console
2. replace the print_center line with:
set_hudmessage(255, 0, 0, 0.40, 0.10, 0, 0.0, 1.0, 0.0, 0.0, 1);
show_hudmessage(i, "[ %d minute%s %d second%s ]",imin,imin == 1 ? "" : "s",kreedztime,kreedztime == 1 ? "" : "s")
[ Edited Sun Jan 14 2007, 11:40PM ]
kz_hook "playername" "ON" don't work? O.o
No, I cant get it to work =/
"[Prokreedz] The Admin XXX has removed your ability to use hook" when i type it =/
2 solutions.
1. hud_centerid 0 in client console
2. replace the print_center line with:
set_hudmessage(255, 0, 0, 0.40, 0.10, 0, 0.0, 1.0, 0.0, 0.0, 1);
show_hudmessage(i, "[ %d minute%s %d second%s ]",imin,imin == 1 ? "" : "s",kreedztime,kreedztime == 1 ? "" : "s")
Ok thank you. Is there a editor to edit amxx files, because notepad can't do it?
http://prdownloads.sourceforge.net/amxmodx/AMXX_Studio_1.4.3_final.zip?download
It can edit .sma files, not .amxx
Ok thank you.
Can someone tell me if it is possible to have the show timer on by default. So you don't have to access the menu? I know this is possible because every server has it.
Search for:
new bool:showtimer[32]
Replace:
new bool:showtimer[32] = {true, ...};
Search for all occurances of:
showtimer[id-1] = false
Replace all with:
showtimer[id-1] = true;
I have installed prokreedz nice mod love it i did not install the sma files only the amxx files (as the install.html enclosed in the zip instructed) through this thread i have tweaked out most of the commands for timer semiclip etc .. the problem i have is how do you get the hook to work for the players that start the timer and complete the map and then stop the timer when the bind for +hook is used ....in console it says you have no acces to that command can someone please help me with this? i have no real coding experiance, the most i do is cfg files and some basic html thanx in advance for any help you might offer
hello,
I use this plugin but I have a problem with the /top15, indeed when a player is present in the top and when he does a new score, his name is again added on a new line and the old score is always here
I thus meet myself with a top performed with doubloons.. How fix that?
thank you in advance and sorry for my bad english!
hello again..
I found this part of the prokreedz.sma :
new szvault[64], szmap[32], kreedztime
get_mapname(szmap,32)
format(szvault,64,"pk_%s",szmap)
kreedztime = get_systime() - timer_time[id-1]
new vault = nvault_open(szvault) // Now we have to sort the new list :o
if(vault != -1) {
new szkey[8]
for(new i=1;i<=10;i++) {
new szreturn[128]
new arg1[32], arg2[8]
format(szkey,8,"%d",i)
nvault_get(vault,szkey,szreturn,128)
if(parse(szreturn,arg1,32,arg2,8) == 0 || kreedztime < str_to_num(arg2)) {
new sznew[128], szname[32]
get_user_name(id,szname,32)
format(sznew,128,"^"%s^" ^"%d^" ^"%d^"",szname,kreedztime,checkpointnum[id-1])
if(i < 10) {
for(new x=10;x>i;x--) {
new sztemp[128], sztempkey[8]
format(sztempkey,8,"%d",x-1)
nvault_get(vault,sztempkey,sztemp,128)
if(!equal(sztemp,"")) {
format(sztempkey,8,"%d",x)
nvault_pset(vault,sztempkey,sztemp)
}
}
}
nvault_pset(vault,szkey,sznew)
if(i == 1)
client_print(0,print_chat,"[ProKreedz] %s has established a new record",szname)
break
}
}
nvault_close(vault)
}
}
I suppose that it is in this place that the top is updated, how to limit the number of times by player to the only one? I would like to have twice no same player in top10.
Thank you in advance
[ Edited Mon Jan 29 2007, 05:34AM ]
u have to add much lines of code for that
1. u have to save steam id from the players which are in top10
2. when someone reach target, it should check if ther is an entry to this steam id (new function)
if no, do nothing
if yes, check if new time is better
if yes, load topten_update
;)
[ProKreedz] You can not create a checkpoint while ducking
Why? :(
remember to kz_multiplugin
when u are on a place where u have to duck, doing there a checkpoint, fall and type /gocheck without ducking before, u will stuck ;)
when function is that u can't do checks while ducking this situation with stuck cant come ;)
Ok , but is another plugin , kz_jump_plugin , that suport duck function , but i like prokreedz , its a way to make this thing posible? http://forums.alliedmods.net/showthread.php?t=42367&highlight=kreedz
Please help, if someone know how to make checkpoint while duck with prokreedz.
sure there are ways...
but to this time when prokreedz was released ther wasn't the plugin kz_jump_plugin....
sure u can disable the check if the person is ducking
try it by removing this code in prokreedz.sma
if(entity_get_int(id,EV_INT_flags)&FL_DUCKING) {
client_print(id,print_chat,"[ProKreedz] You can not create a checkpoint while ducking")
return PLUGIN_HANDLED
}
i think when i look quite now that it should work by removing this code...
re compile then and put the new prokreedz.amxx in plugins folder
[ Edited Wed Jan 31 2007, 11:55AM ]
10x , i will try
Hmm , works to create checkpoint , but when i go to checkpoint , im stuck , like u have say.
Copy the task that kz jump plugin has that sets FL_DUCKING
delay_duck(id)
{
set_task(0.01, "force_duck", id);
_fm_set_entity_flags(id, FL_DUCKING, 1);
}
public force_duck(id)
{
_fm_set_entity_flags(id, FL_DUCKING, 1);
}
these are but where to put these?
Anywhere in the sma, then put delay_duck(id) before every set_user_origin.
there isnt any set_user_origin..
Please log in to post replies.