Advertisement
Rhayziin

SetAllActorsInvulnerable

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