Prokreedz , checkpoint while ducking
1 Attachment(s)
Please sombody who know to make amxx plugins , help me and make prokreedz to suport checkpoint while ducking , 10x
|
Re: Prokreedz , checkpoint while ducking
There is a reason its disabled...
When you load that checkpoint you will probably get stucked to the ground. But if you wanna edit it anyway: lines 258-261: Code:
|
Re: Prokreedz , checkpoint while ducking
10x , but like u have say, i get stuck when i teleport to a duck checkpoint , there must be another way , like in kz jump plugin
|
Re: Prokreedz , checkpoint while ducking
but if you duck when you teleport to that checkpoint and then get up you wont get stuck...
EDIT: This code forces the people to duck when teleporting to a(ny) checkpoint. line 400 somewhere. Replace "entity_set_origin(id,checkpoints[id-1][cp])" with this code. Code:
|
Re: Prokreedz , checkpoint while ducking
The players dont duck fast enought , and get stuck in the wall , like u have say
|
Re: Prokreedz , checkpoint while ducking
}
set_pev(id, pev_velocity, {0, 0, 0}); // Reset velocity set_pev(id, pev_origin, cp_origin); kz_show_hud(id, 128, 0, 128, 0.29, 0.89, "You have been teleported to your checkpoint."); delay_duck(id); gc_count[id]++; } return PLUGIN_HANDLED; } return PLUGIN_CONTINUE; } 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); } This is in Kz Jump Plugin , but i dont know what i have to do , where to put these code , or what to change |
Re: Prokreedz , checkpoint while ducking
I think the delay_duck(id) its important , but i dont know how to make these to work :( i am not a amxx coder :cry:
|
Re: Prokreedz , checkpoint while ducking
Replace the whole function goto_cp with this.
Code:
|
Re: Prokreedz , checkpoint while ducking
Big Thanx , i will try soon
|
Re: Prokreedz , checkpoint while ducking
1 Attachment(s)
I dont know what i do wrong ,
/home/groups/alliedmodders/forums/files/2/1/5/0/3/13591.attach(221) : warning 217: loose indentation /home/groups/alliedmodders/forums/files/2/1/5/0/3/13591.attach(323) : error 017: undefined symbol "cp" /home/groups/alliedmodders/forums/files/2/1/5/0/3/13591.attach(325) : error 017: undefined symbol "cp" /home/groups/alliedmodders/forums/files/2/1/5/0/3/13591.attach(386) : error 021: symbol already defined: "goto_cp" 3 Errors. Could not locate output file /home/groups/amxmodx/public_html/compiled3/13591.amx (compile failed). |
| All times are GMT -4. The time now is 00:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.