Advertisement
Rhayziin

DestroyAllActors

May 11th, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1. //By Rhayziin (http://forum.sa-mp.com/showthread.php?t=573829)
  2.  
  3. stock DestroyAllActors()
  4. {
  5.     for(new i = 0; i <= GetActorPoolSize(); ++i)
  6.     {
  7.         if(IsValidActor(i)) DestroyActor(i);
  8.     }
  9.     return 1;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement