ProKreedz Help Thread

Started by faker mapper
07/09/2006 19:42
Page 15 of 21
SchlumPF26/03/2008 19:35

haha quad post xD btw gj creating it on your own

Silver_Ghost26/03/2008 20:25(edited 27/03/2008 17:40)

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 ???

SchlumPF28/03/2008 14:26(edited 28/03/2008 14:26)

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

Silver_Ghost28/03/2008 19:09

tnx a lot for http://wiki.amxmodx.org/Half-Life_1_Game_Events

SchlumPF28/03/2008 19:46

i knew u mean events ^^ messages are for good coders ^^

Silver_Ghost28/03/2008 20:05

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]

SchlumPF29/03/2008 16:59

http://wiki.amxmodx.org/Category:Scripting_%28AMX_Mod_X%29

fl_frozen does "freeze" the palyer so he cant move

diggzie!31/03/2008 09:02

How can i make scout detectable by cheatdetect (timer terminated then picking up scout) ?
DEMO: http://i25.tinypic.com/o6waad.jpg

stask0 Tournament #231/03/2008 16:41(edited 31/03/2008 16:46)

#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
}
}

diggzie!31/03/2008 18:03

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 ;(

stask0 Tournament #231/03/2008 18:06

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

diggzie!31/03/2008 18:11

I`m not using climbtimer .. anyway tnx :P

PrEn1uMz01/04/2008 20:53

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")

diggzie!02/04/2008 16:17

It works .. 10x PrEn1uMz <3 !

diggzie!06/04/2008 17:14

What i must modify in prokreedz to respawn dead ppl back alive ? :/

SchlumPF06/04/2008 17:30

its already in prokreedz oO

diggzie!07/04/2008 06:55(edited 07/04/2008 06:56)

hmm .. doesn`t work for me. I have lots modified in my plugin and i think this function is broken or .. :(

SchlumPF07/04/2008 16:25

maybe just loom for DeathMsg or sth like that

diggzie!07/04/2008 17:13

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 :/

Tsotsi23/04/2008 17:48

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

Page 15 of 21

Please log in to post replies.