Raised This Month: $ Target: $400
 0% 

What dose those codes do


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 08-05-2020 , 23:20   Re: What dose those codes do
Reply With Quote #8

Quote:
Originally Posted by Supremache View Post
I was searching for codes those can remove c4 bomb from server and when i found one i get many problems so i got this code
Code:
new const SzEnts_c4[][] = {"func_bomb_target", "info_bomb_target"}; public plugin_cfg() {  new Ent = -1;  for(new remove;remove < sizeof SzEnts_c4;++remove)  while((Ent = engfunc(EngFunc_FindEntityByString, Ent, "classname", SzEnts_c4[remove])) != 0)  {   if(pev_valid(Ent))   {    engfunc(EngFunc_RemoveEntity, Ent);    server_cmd("sv_restartround 1")   }  } }
__________________

Last edited by DJEarthQuake; 08-06-2020 at 06:46. Reason: sv_restartround
DJEarthQuake 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 13:52.


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