Advertisement
Rhayziin

SetAllActorsHealth

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