Advertisement
Guest User

Untitled

a guest
Aug 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. local config = {
  2. [1] = {palavra = 'mapa1', code = 65},
  3. [2] = {palavra = 'mapa2', code = 75}
  4. }
  5.  
  6. function onSay(cid, words, param)
  7.  
  8. for i = 1, #config do
  9. if (param config[i].palavra) and print(config[i].palavra) then
  10. doSendPlayerExtendedOpcode(cid, config[i].code, 'True')
  11. end
  12. return true
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement