Advertisement
Guest User

example

a guest
Dec 28th, 2013
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. -- no response to console i.e. no "fire 1"
  2. function Guildplayersreward(event, player)
  3. print("fire 1")
  4. for _,v in pairs(GetPlayersInWorld()) do
  5. if(v)and(v:IsInGuild()==true)then
  6. local Vip = ACCT[GetAcctId(v)].Vip
  7. a=(5*Vip)
  8. v:SendBroadcastMessage("|cff00cc00Thank you for playing.|r")
  9. UpdateMG(v, a)
  10. end
  11. if(v)and(v:IsInGuild()==false)then
  12. v:SendBroadcastMessage("|cff00cc00Join a guild and earn hourly rewards.|r")
  13. end
  14. end
  15. end
  16. CreateLuaEvent(function() Guildplayersreward(event, player); end, 60000, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement