Guest User

Simple /playall for Admins - EvanA(Evan Abagail)

a guest
Aug 18th, 2013
1,481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.46 KB | None | 0 0
  1. // Admin Music Stream by EvanA(Evan Abagail)
  2. // Version 1.0
  3. #define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8. #define zcmd
  9. #define pAdmin
  10.  
  11. CMD:playall(playerid, params[])
  12. {
  13.     foreach(Player, i)
  14.     {
  15.         if (PlayerInfo[playerid][pAdmin] >= 999999)
  16.         {
  17.             if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /playall [Link]");
  18.             PlayAudioStreamForPlayer(i, params);
  19.         }
  20.     }
  21.     return 1;
  22. }
  23.  
  24. #endif
Advertisement
Add Comment
Please, Sign In to add comment