ProKreedz Help Thread
Check xtreme-jumps.sma in xj amxx pack.
NO! I don't Know! I'm only 13 years old! I searched and I didn't find! Please tell me the lines to delete or to add in prokreedz.sma! Please! :) <3
[ Edited 09/17/07 - 07:27:44 ]
im now in school but when im back home i will post u the code for checkpoints while ducking and the code for acolored hudmessage whcihes shows you the time ^^
Thank You PaPa SchulmPF for the Help ! :)
1. checkpoints while ducking
-add on top of the sma
#include
-add this anywhere in the sma
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);
}
stock _fm_set_entity_flags(index, flag, onoff) {
new flags = pev(index, pev_flags)
if ((flags & flag) > 0)
return onoff == 1 ? 2 : 1 + 0 * set_pev(index, pev_flags, flags - flag)
else
return onoff == 0 ? 2 : 1 + 0 * set_pev(index, pev_flags, flags + flag)
return 0
}
-copy this before every(!) entity_set_origin
delay_duck(id)
2.
replace [line 220]
client_print(i,print_center,"[ %d minute%s %d second%s ]",imin,imin == 1 ? "" : "s",kreedztime,kreedztime == 1 ? "" : "s")
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")
u set the color and position in set_hudmessage
set_hudmessage(RED,GREEN,BLUE, XPOS, YPOS, 0, 0.0, 1.0, 0.0, 0.0, 1);
if u need a special color or position just ask me and post a link with a screen where u have marked the place where the message should appear!
Thank You! You are The Best! Thank You MR.!!! !!!! Thank You!
:(( i can't make the checkpoint with duck :(( it can't copile!!!
schlumPF I don't understand this part:
-copy this before every(!) entity_set_origin
delay_duck(id)
please give me an example! Somebody :) :(
Could not alocate Output file copielele\prokreedz.amx????? I don't Know!
i did it but when i teleport I Stuck :(
oh forgot to say u have to delete [line 255-258]
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
}
if u still have problems add me in icq (207893819)
scculumPF i don't know Please tell me on my Yahoo ID PLease!!! gabytza029 this is my yahoo ID! Please Add ME!
I have ICQ
!
use the edit button don't spam.
learn pawn and studying the code .
i know this will be hard but it seems so that you haven't any coding related knowledge.
than add me or add me steam (schlumpf_1337)... i have to look at the code so :P demolite u dont need knowledge in coding to learn pawn... i learned html basics by a book and started how to code with pawn while modifing prokreedz ^^ but its pretty hard to understand some things as arrays etc
Guys hi all, does any1 know how to make people connecting to server join CT? Cuz there is bug so spectators can start timer and finish it :( I hate it. Or how to protect timer from spectators?
i think
human_join_team "ct"
should do that so u would not need a special plugin for that
try add this in var in server.cfg
humans_join_team
oh God, Thank you guys!!! You helped me very much. those suckers-loosers wont flood my top10 any more :)
btw, when i connect it shows the models of CT to choose, but how can i also configure to choose one model, so that players connecting would immediately start playing with model i've chosen to be?
Please log in to post replies.