Raised This Month: $ Target: $400
 0% 

change kreedz plugin


Post New Thread Reply   
 
Thread Tools Display Modes
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
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 07-08-2006 , 02:18   Re: change kreedz plugin
Reply With Quote #2

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
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
k4Sn
Junior Member
Join Date: Dec 2005
Old 07-08-2006 , 02:46   Re: change kreedz plugin
Reply With Quote #3

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).
Attached Files
File Type: sma Get Plugin or Get Source (prokreedz.sma - 834 views - 31.5 KB)

Last edited by k4Sn; 07-08-2006 at 03:05.
k4Sn is offline
Send a message via ICQ to k4Sn
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 07-08-2006 , 03:12   Re: change kreedz plugin
Reply With Quote #4

Here you go
Attached Files
File Type: sma Get Plugin or Get Source (prokreedz_.sma - 774 views - 31.1 KB)
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
k4Sn
Junior Member
Join Date: Dec 2005
Old 07-08-2006 , 03:26   Re: change kreedz plugin
Reply With Quote #5

it works , thanks for your help
n1
k4Sn is offline
Send a message via ICQ to k4Sn
MaCoLa-
BANNED
Join Date: Dec 2009
Location: Tbilisi, Georgia
Old 12-15-2009 , 08:23   Re: change kreedz plugin
Reply With Quote #6

teame06 can't you make it not to create checkpoints while falling and create it while ducking? : )
MaCoLa- is offline
Send a message via Skype™ to MaCoLa-
lazarev
Veteran Member
Join Date: Sep 2008
Old 12-15-2009 , 08:35   Re: change kreedz plugin
Reply With Quote #7

Quote:
teame06 can't you make it not to create checkpoints while falling and create it while ducking? : )
MaCoLa- =

post by teame06 was:
Code:
07-08-06 13:12
lazarev is offline
MaCoLa-
BANNED
Join Date: Dec 2009
Location: Tbilisi, Georgia
Old 12-15-2009 , 09:40   Re: change kreedz plugin
Reply With Quote #8

kaziol

Last edited by MaCoLa-; 12-15-2009 at 09:44.
MaCoLa- is offline
Send a message via Skype™ to MaCoLa-
lazarev
Veteran Member
Join Date: Sep 2008
Old 12-15-2009 , 09:56   Re: change kreedz plugin
Reply With Quote #9

Quote:
Originally Posted by MaCoLa- View Post
kaziol
for u

PS Special for you.

Last edited by lazarev; 12-15-2009 at 10:07.
lazarev is offline
MaCoLa-
BANNED
Join Date: Dec 2009
Location: Tbilisi, Georgia
Old 12-15-2009 , 10:32   Re: change kreedz plugin
Reply With Quote #10

Hancock ? LOL. he really is U2

Last edited by MaCoLa-; 12-15-2009 at 10:39.
MaCoLa- is offline
Send a message via Skype™ to MaCoLa-
Reply



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