Raised This Month: $ Target: $400
 0% 

change kreedz plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
k4Sn
Junior Member
Join Date: Dec 2005
Old 07-08-2006 , 01:54   change kreedz plugin
Reply With Quote #1

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 Floatrigin[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
}
k4Sn is offline
Send a message via ICQ to k4Sn
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode