Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- no response to console i.e. no "fire 1"
- function Guildplayersreward(event, player)
- print("fire 1")
- for _,v in pairs(GetPlayersInWorld()) do
- if(v)and(v:IsInGuild()==true)then
- local Vip = ACCT[GetAcctId(v)].Vip
- a=(5*Vip)
- v:SendBroadcastMessage("|cff00cc00Thank you for playing.|r")
- UpdateMG(v, a)
- end
- if(v)and(v:IsInGuild()==false)then
- v:SendBroadcastMessage("|cff00cc00Join a guild and earn hourly rewards.|r")
- end
- end
- end
- CreateLuaEvent(function() Guildplayersreward(event, player); end, 60000, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement