Advertisement
FlacoBey

Untitled

Jan 17th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include sdktools
  2.  
  3. public OnPluginStart()
  4. {
  5.     HookEvent("witch_harasser_set", WitchBlyat, EventHookMode_Pre);
  6. }
  7.  
  8. public WitchBlyat(Handle:event, const String:name[], bool:dontBroadcast)
  9. {
  10.     int iDirector = CreateEntityByName("info_director");
  11.     DispatchSpawn(iDirector);
  12.        
  13.     AcceptEntityInput(iDirector, "ForcePanicEvent");
  14.     AcceptEntityInput(iDirector, "Kill");
  15.     RemoveEdict(iDirector);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement