Help Code color crosshairs
#1
I apologize for my English, I write through Google translator.

I need to color code the crosshairs of fashion AIZombies eXtreme 2.0
he can not find it (((

http://www.itsmods.com/forum/Thread-Prev...layer.html
[Image: acb072795e8b.gif]
Reply

#2
It's just a random number between 0-1 for each color :c

Anyway to not override the original GSC this is what'll you do
Code:
onPlayerConnect() { self endon("disconnect"); for(;;) { level waittill( "connected", player); player thread hitmarkerColor(); } } hitmarkerColor() { while ( true ) { while( !isDefined( self.hud_damagefeedback ) ) { wait 0.5; } self.hud_damagefeedback.color = getGoodColor(); wait 0.5; } } getGoodColor() { color = []; //Array as Vector3 for( i=0;i<3;i++) { color[i] = randomint( 2 ); } if( color[0] == color[1] && color[1] == color[2] ) { rand = randomint(3); color[rand] += 1; color[rand] %= 2; } return ( color[0], color[1], color[2] ); }
-Made by momo5502
You could've opened the IWD and checks scripts/functions.gsc <_<
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#3
It's Fashion. Damn russian guy/translator.

@DidUknowiPwn - why using random colors ?... also like he knows what is gsc.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#4
DidUknowiPwn, Thanks for the help
[Image: acb072795e8b.gif]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help need help?how to make plugins code hXnarutoXone 12 11,704 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 4,318 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 5,811 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 12,740 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 7,639 07-28-2013, 01:52
Last Post: First_Semyon
  Mw3 Feed Color Change?? aluzion 5 7,727 07-16-2013, 19:52
Last Post: barata
  Code of vector Bloodfocus 1 3,328 06-23-2013, 11:54
Last Post: Yamato
  problem with gsc code CheGuevara 5 7,912 04-20-2013, 15:06
Last Post: Nekochan
Photo Help color blue(display) [HARD] Tony. 2 3,498 04-06-2013, 14:16
Last Post: Nekochan
Tongue [Request] read if you have a cs:go code:) rawr-saours 5 5,661 04-05-2013, 18:15
Last Post: SuperNovaAO

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.