Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 32
Search took 0.01 seconds.
Search: Posts Made By: zkfpk6
Forum: Scripting Help 12-16-2017, 08:26
Replies: 2
Views: 659
Posted By zkfpk6
is it possible to give clip ammo for a player in cs1.6?

i am making a level plugin, and i want set a skill which can add player's clip ammo randomly...
is it possible?
Forum: Scripting Help 12-13-2017, 00:23
Replies: 1
Views: 506
Posted By zkfpk6
Re: question about sz_getspace overflow(memory leak?)

is there some args need be release?
Forum: Scripting Help 12-13-2017, 00:19
Replies: 1
Views: 506
Posted By zkfpk6
question about sz_getspace overflow(memory leak?)

is that "sz_getspace overflow" == memory leak?
i want to know what code can case memory leak, i'm sure which my plugin happend memory leak but don't know how to solved it...and when i open...
Forum: Scripting Help 12-04-2017, 22:46
Replies: 9
Views: 1,618
Posted By zkfpk6
Re: a small question: fgets or read_file, which is faster?

yeah i saw that tutorial before i asked, but he didn't say which is more faster...i have a little OCD when write codes lol, i think this is a good things for every programer.
Forum: Scripting Help 12-03-2017, 21:47
Replies: 1
Views: 836
Posted By zkfpk6
Re: how can i put a sprite on bot's head?

i solved this problem by create env_sprite and set origin with bot origin..
Forum: Scripting Help 12-03-2017, 19:55
Replies: 1
Views: 836
Posted By zkfpk6
how can i put a sprite on bot's head?

because i want to put a country flag on my wr(kz world record) bot's head when he is spawn, yeah i search for it, and i find a solution:



public makebot(botIndex)
{
new...
Forum: Scripting Help 12-03-2017, 19:29
Replies: 9
Views: 1,618
Posted By zkfpk6
Forum: Scripting Help 11-30-2017, 21:04
Replies: 9
Views: 1,618
Posted By zkfpk6
a small question: fgets or read_file, which is faster?

i need read more than 5000 lines..
Forum: Scripting Help 11-23-2017, 00:20
Replies: 6
Views: 1,336
Posted By zkfpk6
Re: how to block other player sounds for a single player?

no, i need block all sound that emit by other player such as walk/jump/fire/pain/, not about team. jimaway's answer is exactly i want. anyway, thanks for ur help :)
Forum: Scripting Help 11-23-2017, 00:15
Replies: 6
Views: 1,336
Posted By zkfpk6
Re: how to block other player sounds for a single player?

big thanks to uuuuuuuuuuuu!!!!!
work perfectly!! that's exactly i want!!(although i cant understand his code lol)
Forum: Scripting Help 11-22-2017, 01:49
Replies: 6
Views: 1,336
Posted By zkfpk6
Re: how to block other player sounds for a single player?

the reason is that i have a kz server, other player's fire sound/step sound/pain sound is too noisy for a player.
emmmmmm...plz reply
Forum: Scripting Help 11-21-2017, 19:45
Replies: 6
Views: 1,336
Posted By zkfpk6
how to block other player sounds for a single player?

well i guess need this hook


register_forward(FM_AddToFullPack, "FM_AddToFullPack")


but i don't know in this hook how to catch which entity should play sounds. does the pev have this...
Forum: Scripting Help 11-20-2017, 20:51
Replies: 0
Views: 591
Posted By zkfpk6
[HELP] play bot animation with keys.

i stored bot keys, i want to play whole usp move animation (swim, walk, duck, jump ...etc) with these keys.


#define InMove (keys & IN_FORWARD || keys & IN_LEFT || keys & IN_RIGHT || keys &...
Forum: Scripting Help 11-17-2017, 00:15
Replies: 3
Views: 2,559
Posted By zkfpk6
Re: about FM_CheckVisibility and FM_AddToFullPack, please help me !! omg

i know why all brush entities are disappear..
because the real bot out of the map, just fake bot in the map, so brush entities disappear(imagine when you spec free look and into a solid or out of...
Forum: Scripting Help 11-16-2017, 19:13
Replies: 3
Views: 2,559
Posted By zkfpk6
Re: about FM_CheckVisibility and FM_AddToFullPack, please help me !! omg

please help!
here is the problem map
http://files.xtreme-jumps.eu/maps/kz_xj_communitybhop.rar
Forum: Scripting Help 11-16-2017, 08:21
Replies: 3
Views: 2,559
Posted By zkfpk6
about FM_CheckVisibility and FM_AddToFullPack, please help me !! omg

this plugin called "KZ:Bots", it can let player handle the world recoed bot PERSONALLY, it means bot is made for every player seperately, so anyone can reset him or whatever he want.
but there have...
Forum: Scripting Help 10-17-2017, 03:27
Replies: 1
Views: 525
Posted By zkfpk6
Re: server fatal error callback?

L 10/17/2017 - 15:20:48: FATAL ERROR (shutting down): Host_Error: no precache: sprites/ledglow.spr

such as this
Forum: Scripting Help 10-17-2017, 03:17
Replies: 1
Views: 525
Posted By zkfpk6
server fatal error callback?

i have a kz server, which have 1300+ maps, but some maps miss some resource, it case my server crash(usually called fatal error blabla). so i want to auto write the map name which is crash sever in...
Forum: Scripting Help 10-16-2017, 20:44
Replies: 10
Views: 2,104
Posted By zkfpk6
Re: how to compare UTF-8(Chinese) string?

thanks bro i think i solved this problem
Forum: Scripting Help 10-16-2017, 20:43
Replies: 10
Views: 2,104
Posted By zkfpk6
Re: how to compare UTF-8(Chinese) string?

omg guys i think i solved this problem thank god
check this https://forums.alliedmods.net/showthread.php?t=177315

and both string convent to ansi to compare is worked!
like this

//ansi to...
Forum: Scripting Help 10-16-2017, 07:23
Replies: 10
Views: 2,104
Posted By zkfpk6
Forum: Scripting Help 10-16-2017, 07:22
Replies: 10
Views: 2,104
Posted By zkfpk6
Re: how to compare UTF-8(Chinese) string?

yeah but return -1.
really sad.i guess need to convert, but i dont know how to
Forum: Scripting Help 10-16-2017, 07:19
Replies: 10
Views: 2,104
Posted By zkfpk6
Re: how to compare UTF-8(Chinese) string?

not work bro, still return -1.
Forum: Scripting Help 10-15-2017, 20:46
Replies: 16
Views: 3,320
Posted By zkfpk6
Re: about precache 512limit, please help me, really weird

thank u for ur all answers. sorry for reply so late. and i am solved this problem by reduce system precache..
Forum: Scripting Help 10-15-2017, 20:41
Replies: 10
Views: 2,104
Posted By zkfpk6
how to compare UTF-8(Chinese) string?

for example



containi("怎么比较中文","中文");
equal("中文","中文");



u see first string contain "中文", but it return -1. they both not work.
Showing results 1 to 25 of 32

 
Forum Jump

All times are GMT -4. The time now is 10:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode