Raised This Month: $ Target: $400
 0% 

[cs:go] please generate me some code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 01-30-2014 , 19:51   [cs:go] please generate me some code
Reply With Quote #1

I have multiple string lines...

L 01/30/2014 - 11:18:40: attack ak47 HS:YES (attacker_position "2233 162 -512" TERRORIST) (victim_position "1792 -151 -453" CT)


I need them checked for 'attack' is the first word, and if so put an appropriately colord sprite or dot at the attack position
hamilton5 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-30-2014 , 21:34   Re: [cs:go] please generate me some code
Reply With Quote #2

You could just use the player_hurt event?
__________________
View my Plugins | Donate
TnTSCS is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 01-30-2014 , 22:51   Re: [cs:go] please generate me some code
Reply With Quote #3

It's already done and logged... I need to replay it back on the map; where kills happened.. I relize there is a max here because of entities limits, unless there is a better idea.
hamilton5 is offline
Marcus_Brown001
AlliedModders Donor
Join Date: Nov 2012
Location: Illinois, United States
Old 01-31-2014 , 12:27   Re: [cs:go] please generate me some code
Reply With Quote #4

Quote:
Originally Posted by hamilton5 View Post
I need to replay it back on the map; where kills happened..
Why? O.o
Marcus_Brown001 is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 02-02-2014 , 07:38   Re: [cs:go] please generate me some code
Reply With Quote #5

want something similar
http://blog.counter-strike.net/science/maps.html


I'm just not willing to put much effort into this. Does the compile and match regex have back reference? just use explode string?


I can't believe there is not something newer out that does this.

Last edited by hamilton5; 02-02-2014 at 07:52.
hamilton5 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:19.


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