Change rope/hook color?

Started by HotshoT
28/01/2006 15:06
Page 2 of 2
puppetz mapper21/07/2007 02:27

Where exactly can I get prokreedz_hook.sma?

SchlumPF21/07/2007 02:43

its in the rpokreedz.rar @ downlaods/misc

puppetz mapper21/07/2007 02:48

Oh, thank you very much! Of some reason I didn't add it when I installed ProKreedz :/

TeRRoRbOy23/07/2007 16:08

it's not working and don't know why :(

BooLiSH23/07/2007 16:52

maybe you didn't compile it terror, i made the same mistake removing the sound...


preniumz i think the line is wrong..it 162 163 164 =p


lol i wanted a black hok now its invisible :D


[ Edited 07/23/07 - 16:58:32 ]

puppetz mapper23/07/2007 17:08

lol BooLiSH, tried the same. Then choose a almost black colour, you can't get a complete white hook either. Mine is.. Gay-white atm. :P

BooLiSH23/07/2007 17:34

lol BooLiSH, tried the same. Then choose a almost black colour, you can't get a complete white hook either. Mine is.. Gay-white atm. :P

PuppetZ^




haha mine too ;D

TeRRoRbOy23/07/2007 21:29

maybe you didn't compile it terror, i made the same mistake removing the sound...

BooLiSH

what do you mean to compile it ?

puppetz mapper23/07/2007 22:51

When you have edited a .sma file, you have to compile it to .amx or .amxx and overwrite the old file, before it makes any difference in CS.

BooLiSH24/07/2007 04:39

@TeRRoRbOy:

1. download this: compiler

2. look at this image i hope you get through it :P
click!

TeRRoRbOy24/07/2007 09:28

it's working :D thanks a lot :)

r3c0Rd24/07/2007 09:43

is there any way to transforme from *.amxx to *.sma files ?

[ Edited 07/24/07 - 09:44:34 ]

SchlumPF24/07/2007 14:44

http://forums.alliedmods.net/showthread.php?t=19368 by bailopan... never tested this but it should work

BooLiSH24/07/2007 15:28

np terrorboy :)

Jer1cho17/01/2009 17:56(edited 17/01/2009 17:57)

I have code:


public draw_hook(id){
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
write_byte(1)
write_short(id)
write_coord(hookorigin[id][0])
write_coord(hookorigin[id][1])
write_coord(hookorigin[id][2])
write_short(Sbeam)
write_byte(0)
write_byte(0)
write_byte(100)
write_byte(10)
write_byte(0)


write_byte(0) // r
write_byte(0) // g
write_byte(255) // b


write_byte(250)
write_byte(0)
message_end()
}



How can i set color from console, like kz_hook nick on green
I tried do this:

new szarg4[32]
read_argv(1,szarg4,31)
if(equal(szarg4,"green")){
write_byte(0) // r
write_byte(255) // g
write_byte(0) // b
} else {
write_byte(0) // r
write_byte(0) // g
write_byte(255) // b
}


But it is not working? How can i do this? thx :), sorry for bad english.

Page 2 of 2

Please log in to post replies.