Advertisement
RoksasNunes

Poke

Apr 17th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. function onStepIn(cid, item, pos)
  2.  
  3.     local pokes = {"Pikachu", "Caterpie", "Kakuna", "Chikorita", "Onix", "Geodude"}
  4.  
  5.     for i = 0, 1 do
  6.         doCreateMonster(pokes[math.random(1, #pokes)], getCreaturePosition(cid))
  7.     end
  8.         return true
  9.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement