change kreedz plugin
Hallo. I want to change the ProKreedz-Plugin so that I can make checkpoints during I duck.
I want to change the plugin because I use it in combination with the amx_climb_timer_nva_special (because the top-list). Due to the combination of both plugins timefakes are now possible. The only solution for this problem is to make checkpoints during duck. Could anybody change the prokreedz-plugin that it is possible to make checkpoints during duck, please? I call for help. Thank you! // ============================================= ============================================= ======= // Cmds // ============================================= ============================================= ======= public checkpoint(id) { if(get_pcvar_num(kz_checkpoints) == 1) { if(is_user_alive(id)) { if(entity_get_int(id,EV_INT_flags)&FL_DUCKING ) { client_print(id,print_chat,"[juMp ar3Na] Im ducken kein checkpoint moeglich") return PLUGIN_HANDLED } for(new i=MAX_CPS-1;i>0;i--) { checkpoints[id-1][i][0] = checkpoints[id-1][i-1][0] checkpoints[id-1][i][1] = checkpoints[id-1][i-1][1] checkpoints[id-1][i][2] = checkpoints[id-1][i-1][2] } new Float:origin[3] entity_get_vector(id,EV_VEC_origin,origin) checkpoints[id-1][0][0] = origin[0] checkpoints[id-1][0][1] = origin[1] checkpoints[id-1][0][2] = origin[2] if(checkpointnum[id-1] > 0) client_print(id,print_chat,"[juMp ar3Na] Checkpoint gesetzt") else client_print(id,print_chat,"[juMp ar3Na] Erster checkpoint gesetzt") checkpointnum[id-1]++ } else client_print(id,print_chat,"[juMp ar3Na] Du musst am leben sein um diese Funktion zu nutzen") } else client_print(id,print_chat,"[juMp ar3Na] Checkpoints sind ausgeschaltet") return PLUGIN_HANDLED } |
Re: change kreedz plugin
if(entity_get_int(id,EV_INT_flags)&FL_DUCKING ) {
client_print(id,print_chat,"[juMp ar3Na] Im ducken kein checkpoint moeglich") return PLUGIN_HANDLED } Remove those lines. to be able to duck |
Re: change kreedz plugin
1 Attachment(s)
if I delete, no compiled :(
/home/groups/amxmodx/tmp3/php3hMKCF.sma(265) : error 010: invalid function or declaration /home/groups/amxmodx/tmp3/php3hMKCF.sma( 268 ) : error 010: invalid function or declaration 2 Errors. Could not locate output file /home/groups/amxmodx/public_html/websc3/php3hMKCF.amx (compile failed). |
Re: change kreedz plugin
1 Attachment(s)
Here you go
|
Re: change kreedz plugin
it works :), thanks for your help
n1 |
Re: change kreedz plugin
teame06 can't you make it not to create checkpoints while falling and create it while ducking? : )
|
Re: change kreedz plugin
Quote:
post by teame06 was: Code:
07-08-06 13:12 |
Re: change kreedz plugin
kaziol
|
Re: change kreedz plugin
Quote:
PS Special for you. |
Re: change kreedz plugin
Hancock ? LOL. he really is :) U2
|
| All times are GMT -4. The time now is 07:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.