ProKreedz Help Thread
haha quad post xD btw gj creating it on your own
where can i find full list of messages?
(I'm talking about these messages:
Messages are a way for Half-Life clients to talk to servers, and vice versa.
-----------------------------------------
bhop-no slowdown from prokreedz == AXN mod ???
bhop-no slowdown from prokreedz != AXN mod !!! (!= means 'not like')
dunno if you mean http://wiki.amxmodx.org/Half-Life_1_Engine_Messages or http://wiki.amxmodx.org/Half-Life_1_Game_Events
tnx a lot for http://wiki.amxmodx.org/Half-Life_1_Game_Events
i knew u mean events ^^ messages are for good coders ^^
Where can I read about HL1 Engine Messages?
Where can it be used?..
i can't find it on amxmodx-wiki =/
----------------------
and.. What does "FL_FROZEN" mean?..
[CODE]set_pev(id, pev_flags, pev(id, pev_flags) | FL_FROZEN)[/CODE]
http://wiki.amxmodx.org/Category:Scripting_%28AMX_Mod_X%29
fl_frozen does "freeze" the palyer so he cant move
How can i make scout detectable by cheatdetect (timer terminated then picking up scout) ?
DEMO: http://i25.tinypic.com/o6waad.jpg
#include
#include
#define CT_STATUS_NONE 1
#define CT_STATUS_CLIMBING 2
new climbstatus[33]
public plugin_init()
{
register_plugin( "asdasd", "1.0", "stask0" )
register_clcmd( "say /scout", "scout")
}
public scout(id)
{
if(!user_has_weapon(id,CSW_SCOUT)) {
give_item(id, "weapon_scout")
client_print(id, print_chat, "[KZ] You have scout now.")
}
else
{
client_print(id, print_chat, "[KZ] You already have a scout!")
}
if( climbstatus[id] == CT_STATUS_CLIMBING )
{
client_print(id,print_chat,"[KZ] Scout Detected - Timer terminated")
climbstatus[id] = CT_STATUS_NONE
}
} didnt tested it..
edit:
the code from prokreedz
public detect_cheat(id,reason[]) { // I saw this feature in kz_mulitplugin :o
if(timer_started[id-1] && get_pcvar_num(kz_cheatdetect) == 1) {
client_print(id,print_chat,"[KZ] Detected %s - Timer terminated",reason)
timer_started[id-1] = false
}
}Didnt understand what`s with the first code. Copiled, but it just give you a scout.
The last code i already have in prokreedz.sma.
I`m noob, sry ;(
the 1st code should work if you use climb timer.. but for that you need to put it into the climb timer and dunno how to make it for prokreedz... ;o
I`m not using climbtimer .. anyway tnx :P
Diggz,
at the end of client_prethink() function,
add :
if (user_has_weapon(id,CSW_SCOUT)) detect_cheat(id, "scout")
(line 1190 in original plugin)
else
usedbutton[id-1] = false
if (user_has_weapon(id, CSW_SCOUT)) detect_cheat(id, "scout")
It works .. 10x PrEn1uMz <3 !
What i must modify in prokreedz to respawn dead ppl back alive ? :/
its already in prokreedz oO
hmm .. doesn`t work for me. I have lots modified in my plugin and i think this function is broken or .. :(
maybe just loom for DeathMsg or sth like that
public deathmsg() {
new victim = read_data(2)
set_task(0.5,"respawn",100+victim)
}or
register_event("DeathMsg","deathmsg","a")same like in original prokreedz, but still doesn`t respawn :/
i have read all posts...my problem is with spectators /start button.
i have modified 1) change if(buttons&IN_USE) { to if(buttons&IN_USE && cs_get_user_team(id) != CS_TEAM_SPECTATOR) {
then recompiled but the timer does not appear anymore...neither to alive players. maybe my prokreedz version is broken or something
please someone put a version of prokreedz.sma without specbug and /cp bug in the air. i am noob..not my fault.
thank you
Please log in to post replies.