Advertisement
alilp

Not Working

Jan 9th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. function Player:GetVIP(player)
  2. local ViP = AuthDBQuery("SELECT `vip` FROM `account` WHERE `id`='"..player:GetAccountId().."'")
  3. ViP = ViP:GetUInt32(0)
  4. end
  5. function salam(event, player, message, lang, Type)
  6. if (message:lower() == "salam")then
  7. if(player:GetVIP() == 7)then
  8. player:SendBroadCastMessage("salam")
  9. end
  10. end
  11. end
  12. RegisterPlayerEvent(18, salam)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement