hook

Started by faiNt.^_-
11/11/2007 13:38
Page 1 of 1
faiNt.^_-11/11/2007 13:38

hi all, i m using prokreedz_hook.amxx and people not done the map can use hook . Can Someone help me? :(

faiNt.^_-11/11/2007 14:36

does none wan't to help ;(

Z0ck3rOO711/11/2007 15:18

this is a forum and no chat, u have to wait until someone write and answer..

SchlumPF11/11/2007 15:24

so u want a hook which can be used if u finish the climb?

faiNt.^_-11/11/2007 16:18

yes

SchlumPF11/11/2007 17:11

add after line 1188
if( get_user_flags( id ) & KZ_LEVEL )
{
new name[33]
get_user_name( id, name, 32 )

server_exec( )
server_cmd( "kz_hook ^"%s^" on", name )
}

and if u want to take hook when they start a new run add after line 1169
if( get_user_flags( id ) & KZ_LEVEL )
{
new name[33]
get_user_name( id, name, 32 )

server_exec( )
server_cmd( "kz_hook ^"%s^" off", name )
}

not tested

[ Edited 11/11/07 - 17:12:35 ]

faiNt.^_-12/11/2007 14:39

compile failed :(

SchlumPF12/11/2007 16:37

error message -.- how shall we help if we do not get any information

Page 1 of 1

Please log in to post replies.