Raised This Month: $ Target: $400
 0% 

2 c4 at roundstart


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
katna
Senior Member
Join Date: May 2010
Old 08-11-2011 , 03:16   2 c4 at roundstart
Reply With Quote #1

i had a problem with c4 detection at round start to i tried to fix it. anyway
i need to save the c4 to a global varible at the roundstart event. The problem is at the round start its detect 2 weapon_c4 and 0.1 its detect only 1 ( only when mp_freezetime 0), when mp_freezetime is bigger then 0 then there is no problem with the c4

Code:
new ent, count
while((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "weapon_c4")))
{
     count++
}
	
ColorChat(0, "%d c4 detected", count)
katna is offline
 



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 03:25.


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