TalkAction /change (playername),(monsterName) with a little msg to both

Doggynub

LUA / C++
Joined
Sep 28, 2008
Messages
2,541
Best answers
0
Reaction score
181
Let's say first, I guess title explain every thing but lets illustrate:
1- you say /change Player,monster(easyer than numbers?)
ex: /change Flamming,rat
2-the one who give the outfit get the msg
"You have Gave(playername) the <monster name> outfit."
3-the one who get the outfit gets the msg
"Your Master (your name or the one who gave the outfit) have
changed you into (monster name)."
4- if you found any errors in monster name or script plz post here :p

*Now lets go to script:
in talkaction.xml paste this line
Code:
<talkaction access="6" words="/change" event="script" value="kimo.lua"/>
acess = gm ,cm, etc... valua = script name

now in scripts make file called kimo.lua(or whatever) and paste:

Lua:
local look = { ["orc warlord"] = {lol = 2}, ["warwolf"] = {lol = 3}, ["orc rider"] = {lol = 4}, ["orc"] = {lol = 5}, ["orc shaman"] = {lol = 6}, ["orc warrior"] = {lol = 7}, ["orc berserker"] = {lol = 8}, ["necromancer"] = {lol = 9}, ["yellow butterfly"] = {lol = 10}, ["massive water elemental"] = {lol = 11}, ["archdemon"] = {lol = 12}, ["black sheep"] = {lol = 13}, ["sheep"] = {lol = 14}, ["troll"] = {lol = 15}, ["bear"] = {lol = 16}, ["beholder"] = {lol = 17}, ["ghoul"] = {lol = 18}, ["slime"] = {lol =19}, ["quara predator"] = {lol = 20}, ["rat"] = {lol = 21}, ["cyclops"] = {lol = 22}, ["minotaur mage"] = {lol = 23}, ["minotaur archer"] = {lol = 24}, ["minutaur"] = {lol = 25}, ["rotworm"] = {lol = 26}, ["wolf"] = {lol = 27}, ["snake"] = {lol = 28}, ["minotaur guard"] = {lol = 29}, ["spider"] = {lol = 30}, ["deer"] = {lol = 31}, ["dog"] = {lol = 32}, ["skeleton"] = {lol = 33}, ["dragon"] = {lol = 34}, ["demon"] = {lol = 35}, ["poison spider"] = {lol = 36}, ["demon skeleton"] = {lol = 37}, ["giant spider"] = {lol = 38}, ["dragon lord"] = {lol = 39}, ["fire devil"] = {lol = 40}, ["lion"] = {lol =41}, ["polar bear"] = {lol = 42}, ["scorpion"] = {lol = 43}, ["wasp"] = {lol = 44}, ["bug"] = {lol = 45}, ["quara constrictor"] = {lol = 46}, ["quara hydromancer"] = {lol = 47}, ["ghost"] = {lol = 48}, ["fire elemental"] = {lol = 49}, ["orc spearman"] = {lol = 50}, ["green Djinn"] = {lol = 51}, ["winter wolf"] = {lol = 52}, ["frost troll"] = {lol = 53}, ["witch"] = {lol = 54}, ["behemoth"] = {lol = 55}, ["cave rat"] = {lol = 56}, ["monk"] = {lol = 57}, ["priestess"] = {lol = 58}, ["orc leader"] = {lol = 59}, ["pig"] = {lol = 60}, ["goblin"] = {lol = 61}, ["elf"] = {lol = 62}, ["elf arcarnist"] = {lol = 63}, ["elf Scout"] = {lol = 64}, ["mummy"] = {lol = 65}, ["dwarf geomancer"] = {lol = 66}, ["stone golem"] = {lol = 67}, ["vampire"] = {lol = 68}, ["dwarf"] = {lol = 69}, ["dwarf guard"] = {lol = 70}, ["dwarf soldier"] = {lol = 71}, ["quara mantassin"] = {lol = 72}, ["hero"] = {lol = 73}, ["rabbit"] = {lol = 74}, ["gm"] = {lol = 75}, ["swamp troll"] = {lol = 76}, ["quara pincher"] = {lol = 77}, ["banshee"] = {lol = 78}, ["ancient scarab"] = {lol = 79}, ["blue djinn"] = {lol = 80}, ["cobra"] = {lol = 81}, ["larva"] = {lol = 82}, ["scarab"] = {lol = 83}, ["ormuc"] = {lol = 84}, ["morguthis"] = {lol = 85}, ["thalas"] = {lol = 86}, ["dipthrah"] = {lol = 87}, ["arkothep"] = {lol = 88}, ["mahrdis"] = {lol = 89}, ["vashresamun"] = {lol = 90}, ["ashmunrah"] = {lol = 91}, ["mimic"] = {lol = 92}, ["pirate marauder"] = {lol = 93}, ["hyaena"] = {lol = 94}, ["gargoyle"] = {lol = 95}, ["pirate cutthroat"] = {lol = 96}, ["pirate buccaneer"] = {lol = 97}, ["pirate corsair"] = {lol = 98}, ["lich"] = {lol = 99}, ["crypt shambler"] = {lol = 100}, ["bone beast"] = {lol = 101}, ["death slicer"] = {lol = 102}, ["efreet"] = {lol = 103}, ["marid"] = {lol = 104}, ["badger"] = {lol = 105}, ["skunk"] = {lol = 106}, ["elder beholder"] = {lol = 108}, ["gazer"] = {lol = 109}, ["yeti"] = {lol = 110}, ["chicken"] = {lol = 111}, ["crab"] = {lol = 112}, ["lizard templar"] = {lol = 113}, ["lizard Sentinel"] = {lol = 114}, ["lizard Snakecharmer"] = {lol = 115}, ["kongra"] = {lol = 116}, ["merlkin"] = {lol = 117}, ["sibang"] = {lol = 118}, ["crocodile"] = {lol = 119}, ["carnaphila"] = {lol = 120}, ["hydra"] = {lol = 121}, ["bat"] = {lol = 122}, ["panda"] = {lol = 123}, ["centipede"] = {lol = 124}, ["tiger"] = {lol = 125}, ["old Woman"] = {lol = 126}, ["old man"] = {lol = 127}, ["male citizen"] = {lol = 128}, ["male hunter"] = {lol = 129}, ["male mage"] = {lol = 130}, ["male knight"] = {lol = 131}, ["male nobleman"] = {lol = 132}, ["male summoner"] = {lol = 133}, ["male warrior"] = {lol = 134}, ["female citizen"] = {lol = 136}, ["female hunter"] = {lol = 137}, ["female mage"] = {lol = 138}, ["female Knight"] = {lol = 139}, ["female nobleman"] = {lol = 140}, ["female summoner"] = {lol = 141}, ["female warrior"] = {lol = 142}, ["male barbarian"] = {lol = 143}, ["male druid"] = {lol = 144}, ["male wizard"] = {lol = 145}, ["male oriental"] = {lol = 146}, ["female barbarian"] = {lol = 147}, ["female druid"] = {lol = 148}, ["female wizard"] = {lol = 149}, ["female oriental"] = {lol = 150}, ["male pirate"] = {lol = 151}, ["male assassin"] = {lol = 152}, ["male begger"] = {lol = 153}, ["male shaman"] = {lol = 154}, ["female pirate"] = {lol = 155}, ["female assassin"] = {lol = 156}, ["Female begger"] = {lol = 157}, ["Female shaman"] = {lol = 158}, ["elf"] = {lol = 159}, ["dwarf"] = {lol = 160}, ["carrion worm"] = {lol = 192}, ["enlighted of the cult"] = {lol = 193}, ["adept of the cult"] = {lol = 194}, ["pirate skeleton"] = {lol = 195}, ["pirate ghost"] = {lol = 196}, ["tortoise"] = {lol = 197}, ["thornback tortoise"] = {lol = 198}, ["mammoth"] = {lol = 199}, ["blood crab"] = {lol = 200}, ["demon"] = {lol = 201}, ["minotaur guard"] = {lol = 202}, ["elf arcanist"] = {lol = 203}, ["dragon lord"] = {lol = 204}, ["stone golem"] = {lol = 205}, ["monk"] = {lol = 206}, ["minotaur guard"] = {lol = 207}, ["giant spider"] = {lol = 208}, ["necromancer"] = {lol = 209}, ["elder beholder"] = {lol = 210}, ["elephant"] = {lol = 211}, ["flamingo"] = {lol = 212}, ["purple butterfly"] = {lol = 213}, ["dworc voodoomaster"] = {lol = 214}, ["dworc fleshhunter"] = {lol = 215}, ["dworc venomsniper"] = {lol = 216}, ["darrot"] = {lol = 217}, ["terror bird"] = {lol = 218}, ["tarantula"] = {lol = 219}, ["serpent spawn"] = {lol = 220}, ["spit nettle"] = {lol = 221}, ["toad"] = {lol = 222}, ["seagull"] = {lol = 223}, ["green frog"] = {lol = 224}, ["monk"] = {lol = 225}, ["frog"] = {lol = 226}, ["blue butterfly"] = {lol = 227}, ["red butterfly"] = {lol = 228}, ["ferumbras"] = {lol = 229}, ["hand of cursed fate"] = {lol = 230}, ["undead dragon"] = {lol = 231}, ["lost soul"] = {lol = 232}, ["betrayed wraith"] = {lol = 233}, ["dark torturer"] = {lol = 234}, ["spectre"] = {lol = 235}, ["destroyer"] = {lol = 236}, ["diabolic imp"] = {lol = 237}, ["defiler"] = {lol = 238}, ["wyvern"] = {lol = 239}, ["hellhound"] = {lol = 240}, ["phantasm"] = {lol = 241}, ["blistering fire elemental"] = {lol = 242}, ["hellfire fighter"] = {lol = 243}, ["juggernaut"] = {lol = 244}, ["nightmare"] = {lol = 245}, ["blightwalker"] = {lol = 246}, ["plaguesmith"] = {lol = 247}, ["frost dragon"] = {lol = 248}, ["chakoya tribewarden"] = {lol = 249}, ["penguin"] = {lol = 250}, ["male norseman"] = {lol = 251}, ["female norsewoman"] = {lol = 252}, ["barbarian headsplitter"] = {lol = 253}, ["barbarian skullhunter"] = {lol = 254}, ["barbarian bloodwalker"] = {lol = 255}, ["braindeath"] = {lol = 256}, ["frost giant"] = {lol = 257}, ["husky"] = {lol = 258}, ["chakoya toolshaper"] = {lol = 259}, ["chakoya windcaller"] = {lol = 260}, ["ice golem"] = {lol = 261}, ["silver rabbit"] = {lol = 262}, ["crystal spider"] = {lol = 263}, ["barbarian brutetamer"] = {lol = 264}, ["frost giantess"] = {lol = 265}, ["cm"] = {lol = 266}, ["swimming"] = {lol = 267}, ["male nightmare knight"] = {lol = 268}, ["female nightmare knight"] = {lol = 269}, ["female jester"] = {lol = 270}, ["dragon hatchling"] = {lol = 271}, ["dragon lord hatchling"] = {lol = 272}, ["male jester"] = {lol = 273}, ["squirrel"] = {lol = 274}, ["sea serpent"] = {lol = 275}, ["cat"] = {lol = 276}, ["cyclops smith"] = {lol = 277}, ["male brotherhood of bones"] = {lol = 278}, ["female brotherhood of bones"] = {lol = 279}, ["cyclops drone"] = {lol = 280}, ["troll champion"] = {lol = 281}, ["island troll"] = {lol = 282}, ["frost dragon hatchling"] = {lol = 283}, ["cockroach"] = {lol = 284}, ["massive earth elemental"] = {lol = 285}, ["water elemental"] = {lol = 286}, ["vampire overlord"] = {lol = 287}, ["female demonhunter"] = {lol = 288}, ["male demonhunter"] = {lol = 289}, ["massive energy elemental"] = {lol = 290}, ["wyrm"] = {lol = 291}, ["animated pumpkin"] = {lol = 292}, ["energy element"] = {lol = 293}, ["wisp"] = {lol = 294}, ["rotworm queen"] = {lol = 295}, ["goblin assassin"] = {lol = 296}, ["goblin scavanger"] = {lol = 297}, ["skeleton warrior"] = {lol = 298}, ["bog raider"] = {lol = 299}, ["grim reaper"] = {lol = 300}, ["erth element"] = {lol = 301}, ["god"] = {lol = 302}, ["black tortoise"] = {lol = 303}, ["worker golem"] = {lol = 304}, ["mutated rat"] = {lol = 305}, ["undead gladiator"] = {lol = 306}, ["mutated bat"] = {lol = 307}, ["werewolf"] = {lol = 308}, ["yalaharian"] = {lol = 309}, ["haunted treeling"] = {lol = 310}, ["zombie"] = {lol = 311}, ["vampire bride"] = {lol = 312}, ["gozzler"] = {lol = 313}, ["acid blob"] = {lol = 314}, ["death blob"] = {lol = 315}, ["mercury blob"] = {lol = 316}, ["young sea serpent"] = {lol = 317}, ["mutated tiger"] = {lol = 318}, ["haunted spirit"] = {lol = 319}, ["nightstalker"] = {lol = 320}, ["nightmare scion"] = {lol = 321}, ["hellspawn"] = {lol = 322}, ["mutaded human"] = {lol = 323}, ["female yalaharian"] = {lol = 324}, ["male yalaharian"] = {lol = 325}, ["War golem"] = {lol = 326}, ["female nobleman"] = {lol = 327}, ["male marry"] = {lol = 328}, ["female marry"] = {lol = 329}, ["medusa"] = {lol = 330}, ["king"] = {lol = 332}, ["queen"] = {lol = 331}, ["small golem"] = {lol = 333} }
function onSay(cid, words, param)
local str =
{
"",
""
}
local param = string.explode(param, ",")
if(param == '') then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")
return true
end
 
 
local did = cid
if(param[1]) then
did = getPlayerByNameWildcard(param[1])
if(not did or (isPlayerGhost(did) and getPlayerGhostAccess(did) > getPlayerGhostAccess(cid))) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param[1] .. " not found.")
return true
end
end
local tp = look[param[2]]
if (tp == nil)then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Monster dont exist or You spelled wrong.")
return TRUE
end
 
local tmp = getCreatureOutfit(did)
tmp.lookType = tp.lol
doCreatureChangeOutfit(did, tmp)
doPlayerSendTextMessage(cid, 25, "You have gave <"..param[1].."> the <"..param[2].."> outfit.") 
doCreatureSay(getPlayerByNameWildcard(param[1]), "Your Master<"..getCreatureName(cid).."> have changed you to "..param[2]..".", TALKTYPE_ORANGE_1) 
doSendMagicEffect(getPlayerPosition(getPlayerByNameWildcard(param[1])),26)
return TRUE
 
end
*Important (some outfits name)

name(shape) of outfit ---> what u say

1- green,blue,red outfits --> god,gm,cm

2- the regular addon (begger,norseman,barbarian,etc..) ---> you determin the sex then the addon name
ex: /change flamming,male begger or /change jessica,female pirate etc.....
exept the (brother hood of bones) & the (nightmare knight) -----> bob , nk
or you can write with their official name


3-king outfit ----> king

4- the swimming outfit ---> swimmin

5- humm the green big tortoise (donno its name) ----> black tortoise

6- the big yalahary outfit that looks like the statue ---> yalaharian

7- marriage outfit for males ---> male marry

8- marrige outfit for female ---> female marry

note:
some bosses like the the normal monster so i didnt write the name of bosses which look like the original monster like horned fox which looks like mino guard i guess like that.


Hope it will be useful with some of you (as it rlly took long time) . :)
 
Last edited:

cbrm

Top Class brunet scripter
Staff member
Global Moderator
Joined
Jan 6, 2009
Messages
6,585
Best answers
3
Reaction score
852
Location
Caribbean Sea
hmmm

/newtype 13, char name?
 

Zerak

http://otstatus.com/
Joined
Oct 4, 2009
Messages
1,126
Best answers
0
Reaction score
47
Location
Sweden
nice :) but we can use other and easier scripts ;D
 
OP
Doggynub

Doggynub

LUA / C++
Joined
Sep 28, 2008
Messages
2,541
Best answers
0
Reaction score
181
humm ,like what easier scripts :p
use it like that
/change playername,monstername
 

Shadowdancer

Map Creater
Joined
Oct 4, 2009
Messages
25
Best answers
0
Reaction score
0
Location
Netherlands
Nice but i wanna make a vip spell from it and that you can do like:
!monster Demon
or some please can i have that script.
im not experienced in scripting so :D
 
OP
Doggynub

Doggynub

LUA / C++
Joined
Sep 28, 2008
Messages
2,541
Best answers
0
Reaction score
181
ye easy :)
only for vip players?
 
OP
Doggynub

Doggynub

LUA / C++
Joined
Sep 28, 2008
Messages
2,541
Best answers
0
Reaction score
181
Here you are
paste this in talkaction.xml
Code:
<talkaction words="!monster" event="script" value="monster.lua"/>
creat a file in scripts called monster.lua and paste:

Code:
local look = { ["orc warlord"] = {lol = 2}, ["warwolf"] = {lol = 3}, ["orc rider"] = {lol = 4}, ["orc"] = {lol = 5}, ["orc shaman"] = {lol = 6}, ["orc warrior"] = {lol = 7}, ["orc berserker"] = {lol = 8}, ["necromancer"] = {lol = 9}, ["yellow butterfly"] = {lol = 10}, ["massive water elemental"] = {lol = 11}, ["archdemon"] = {lol = 12}, ["black sheep"] = {lol = 13}, ["sheep"] = {lol = 14}, ["troll"] = {lol = 15}, ["bear"] = {lol = 16}, ["beholder"] = {lol = 17}, ["ghoul"] = {lol = 18}, ["slime"] = {lol =19}, ["quara predator"] = {lol = 20}, ["rat"] = {lol = 21}, ["cyclops"] = {lol = 22}, ["minotaur mage"] = {lol = 23}, ["minotaur archer"] = {lol = 24}, ["minutaur"] = {lol = 25}, ["rotworm"] = {lol = 26}, ["wolf"] = {lol = 27}, ["snake"] = {lol = 28}, ["minotaur guard"] = {lol = 29}, ["spider"] = {lol = 30}, ["deer"] = {lol = 31}, ["dog"] = {lol = 32}, ["skeleton"] = {lol = 33}, ["dragon"] = {lol = 34}, ["demon"] = {lol = 35}, ["poison spider"] = {lol = 36}, ["demon skeleton"] = {lol = 37}, ["giant spider"] = {lol = 38}, ["dragon lord"] = {lol = 39}, ["fire devil"] = {lol = 40}, ["lion"] = {lol =41}, ["polar bear"] = {lol = 42}, ["scorpion"] = {lol = 43}, ["wasp"] = {lol = 44}, ["bug"] = {lol = 45}, ["quara constrictor"] = {lol = 46}, ["quara hydromancer"] = {lol = 47}, ["ghost"] = {lol = 48}, ["fire elemental"] = {lol = 49}, ["orc spearman"] = {lol = 50}, ["green Djinn"] = {lol = 51}, ["winter wolf"] = {lol = 52}, ["frost troll"] = {lol = 53}, ["witch"] = {lol = 54}, ["behemoth"] = {lol = 55}, ["cave rat"] = {lol = 56}, ["monk"] = {lol = 57}, ["priestess"] = {lol = 58}, ["orc leader"] = {lol = 59}, ["pig"] = {lol = 60}, ["goblin"] = {lol = 61}, ["elf"] = {lol = 62}, ["elf arcarnist"] = {lol = 63}, ["elf Scout"] = {lol = 64}, ["mummy"] = {lol = 65}, ["dwarf geomancer"] = {lol = 66}, ["stone golem"] = {lol = 67}, ["vampire"] = {lol = 68}, ["dwarf"] = {lol = 69}, ["dwarf guard"] = {lol = 70}, ["dwarf soldier"] = {lol = 71}, ["quara mantassin"] = {lol = 72}, ["hero"] = {lol = 73}, ["rabbit"] = {lol = 74}, ["gm"] = {lol = 75}, ["swamp troll"] = {lol = 76}, ["quara pincher"] = {lol = 77}, ["banshee"] = {lol = 78}, ["ancient scarab"] = {lol = 79}, ["blue djinn"] = {lol = 80}, ["cobra"] = {lol = 81}, ["larva"] = {lol = 82}, ["scarab"] = {lol = 83}, ["ormuc"] = {lol = 84}, ["morguthis"] = {lol = 85}, ["thalas"] = {lol = 86}, ["dipthrah"] = {lol = 87}, ["arkothep"] = {lol = 88}, ["mahrdis"] = {lol = 89}, ["vashresamun"] = {lol = 90}, ["ashmunrah"] = {lol = 91}, ["mimic"] = {lol = 92}, ["pirate marauder"] = {lol = 93}, ["hyaena"] = {lol = 94}, ["gargoyle"] = {lol = 95}, ["pirate cutthroat"] = {lol = 96}, ["pirate buccaneer"] = {lol = 97}, ["pirate corsair"] = {lol = 98}, ["lich"] = {lol = 99}, ["crypt shambler"] = {lol = 100}, ["bone beast"] = {lol = 101}, ["death slicer"] = {lol = 102}, ["efreet"] = {lol = 103}, ["marid"] = {lol = 104}, ["badger"] = {lol = 105}, ["skunk"] = {lol = 106}, ["elder beholder"] = {lol = 108}, ["gazer"] = {lol = 109}, ["yeti"] = {lol = 110}, ["chicken"] = {lol = 111}, ["crab"] = {lol = 112}, ["lizard templar"] = {lol = 113}, ["lizard Sentinel"] = {lol = 114}, ["lizard Snakecharmer"] = {lol = 115}, ["kongra"] = {lol = 116}, ["merlkin"] = {lol = 117}, ["sibang"] = {lol = 118}, ["crocodile"] = {lol = 119}, ["carnaphila"] = {lol = 120}, ["hydra"] = {lol = 121}, ["bat"] = {lol = 122}, ["panda"] = {lol = 123}, ["centipede"] = {lol = 124}, ["tiger"] = {lol = 125}, ["old Woman"] = {lol = 126}, ["old man"] = {lol = 127}, ["male citizen"] = {lol = 128}, ["male hunter"] = {lol = 129}, ["male mage"] = {lol = 130}, ["male knight"] = {lol = 131}, ["male nobleman"] = {lol = 132}, ["male summoner"] = {lol = 133}, ["male warrior"] = {lol = 134}, ["female citizen"] = {lol = 136}, ["female hunter"] = {lol = 137}, ["female mage"] = {lol = 138}, ["female Knight"] = {lol = 139}, ["female noblewoman"] = {lol = 140}, ["female summoner"] = {lol = 141}, ["female warrior"] = {lol = 142}, ["male barbarian"] = {lol = 143}, ["male druid"] = {lol = 144}, ["male wizard"] = {lol = 145}, ["male oriental"] = {lol = 146}, ["female barbarian"] = {lol = 147}, ["female druid"] = {lol = 148}, ["female wizard"] = {lol = 149}, ["female oriental"] = {lol = 150}, ["male pirate"] = {lol = 151}, ["male assassin"] = {lol = 152}, ["male begger"] = {lol = 153}, ["male shaman"] = {lol = 154}, ["female pirate"] = {lol = 155}, ["female assassin"] = {lol = 156}, ["Female begger"] = {lol = 157}, ["Female shaman"] = {lol = 158}, ["elf"] = {lol = 159}, ["dwarf"] = {lol = 160}, ["carrion worm"] = {lol = 192}, ["enlighted of the cult"] = {lol = 193}, ["adept of the cult"] = {lol = 194}, ["pirate skeleton"] = {lol = 195}, ["pirate ghost"] = {lol = 196}, ["tortoise"] = {lol = 197}, ["thornback tortoise"] = {lol = 198}, ["mammoth"] = {lol = 199}, ["blood crab"] = {lol = 200}, ["demon"] = {lol = 201}, ["minotaur guard"] = {lol = 202}, ["elf arcanist"] = {lol = 203}, ["dragon lord"] = {lol = 204}, ["stone golem"] = {lol = 205}, ["monk"] = {lol = 206}, ["minotaur guard"] = {lol = 207}, ["giant spider"] = {lol = 208}, ["necromancer"] = {lol = 209}, ["elder beholder"] = {lol = 210}, ["elephant"] = {lol = 211}, ["flamingo"] = {lol = 212}, ["purple butterfly"] = {lol = 213}, ["dworc voodoomaster"] = {lol = 214}, ["dworc fleshhunter"] = {lol = 215}, ["dworc venomsniper"] = {lol = 216}, ["darrot"] = {lol = 217}, ["terror bird"] = {lol = 218}, ["tarantula"] = {lol = 219}, ["serpent spawn"] = {lol = 220}, ["spit nettle"] = {lol = 221}, ["toad"] = {lol = 222}, ["seagull"] = {lol = 223}, ["green frog"] = {lol = 224}, ["monk"] = {lol = 225}, ["frog"] = {lol = 226}, ["blue butterfly"] = {lol = 227}, ["red butterfly"] = {lol = 228}, ["ferumbras"] = {lol = 229}, ["hand of cursed fate"] = {lol = 230}, ["undead dragon"] = {lol = 231}, ["lost soul"] = {lol = 232}, ["betrayed wraith"] = {lol = 233}, ["dark torturer"] = {lol = 234}, ["spectre"] = {lol = 235}, ["destroyer"] = {lol = 236}, ["diabolic imp"] = {lol = 237}, ["defiler"] = {lol = 238}, ["wyvern"] = {lol = 239}, ["hellhound"] = {lol = 240}, ["phantasm"] = {lol = 241}, ["blistering fire elemental"] = {lol = 242}, ["hellfire fighter"] = {lol = 243}, ["juggernaut"] = {lol = 244}, ["nightmare"] = {lol = 245}, ["blightwalker"] = {lol = 246}, ["plaguesmith"] = {lol = 247}, ["frost dragon"] = {lol = 248}, ["chakoya tribewarden"] = {lol = 249}, ["penguin"] = {lol = 250}, ["male norseman"] = {lol = 251}, ["female norsewoman"] = {lol = 252}, ["barbarian headsplitter"] = {lol = 253}, ["barbarian skullhunter"] = {lol = 254}, ["barbarian bloodwalker"] = {lol = 255}, ["braindeath"] = {lol = 256}, ["frost giant"] = {lol = 257}, ["husky"] = {lol = 258}, ["chakoya toolshaper"] = {lol = 259}, ["chakoya windcaller"] = {lol = 260}, ["ice golem"] = {lol = 261}, ["silver rabbit"] = {lol = 262}, ["crystal spider"] = {lol = 263}, ["barbarian brutetamer"] = {lol = 264}, ["frost giantess"] = {lol = 265}, ["cm"] = {lol = 266}, ["swimming"] = {lol = 267}, ["male nightmare knight"] = {lol = 268}, ["female nightmare knight"] = {lol = 269}, ["female jester"] = {lol = 270}, ["dragon hatchling"] = {lol = 271}, ["dragon lord hatchling"] = {lol = 272}, ["male jester"] = {lol = 273}, ["squirrel"] = {lol = 274}, ["sea serpent"] = {lol = 275}, ["cat"] = {lol = 276}, ["cyclops smith"] = {lol = 277}, ["male brotherhood of bones"] = {lol = 278}, ["female brotherhood of bones"] = {lol = 279}, ["cyclops drone"] = {lol = 280}, ["troll champion"] = {lol = 281}, ["island troll"] = {lol = 282}, ["frost dragon hatchling"] = {lol = 283}, ["cockroach"] = {lol = 284}, ["massive earth elemental"] = {lol = 285}, ["water elemental"] = {lol = 286}, ["vampire overlord"] = {lol = 287}, ["female demonhunter"] = {lol = 288}, ["male demonhunter"] = {lol = 289}, ["massive energy elemental"] = {lol = 290}, ["wyrm"] = {lol = 291}, ["animated pumpkin"] = {lol = 292}, ["energy element"] = {lol = 293}, ["wisp"] = {lol = 294}, ["rotworm queen"] = {lol = 295}, ["goblin assassin"] = {lol = 296}, ["goblin scavanger"] = {lol = 297}, ["skeleton warrior"] = {lol = 298}, ["bog raider"] = {lol = 299}, ["grim reaper"] = {lol = 300}, ["erth element"] = {lol = 301}, ["god"] = {lol = 302}, ["black tortoise"] = {lol = 303}, ["worker golem"] = {lol = 304}, ["mutated rat"] = {lol = 305}, ["undead gladiator"] = {lol = 306}, ["mutated bat"] = {lol = 307}, ["werewolf"] = {lol = 308}, ["yalaharian"] = {lol = 309}, ["haunted treeling"] = {lol = 310}, ["zombie"] = {lol = 311}, ["vampire bride"] = {lol = 312}, ["gozzler"] = {lol = 313}, ["acid blob"] = {lol = 314}, ["death blob"] = {lol = 315}, ["mercury blob"] = {lol = 316}, ["young sea serpent"] = {lol = 317}, ["mutated tiger"] = {lol = 318}, ["haunted spirit"] = {lol = 319}, ["nightstalker"] = {lol = 320}, ["nightmare scion"] = {lol = 321}, ["hellspawn"] = {lol = 322}, ["mutaded human"] = {lol = 323}, ["female yalaharian"] = {lol = 324}, ["male yalaharian"] = {lol = 325}, ["War golem"] = {lol = 326}, ["noblewoman"] = {lol = 327}, ["male marry"] = {lol = 328}, ["female marry"] = {lol = 329}, ["medusa"] = {lol = 330}, ["king"] = {lol = 332}, ["queen"] = {lol = 331}, ["small golem"] = {lol = 333} }
[B][COLOR=blue]local vip = 9785   ---here write the vip storage value[/COLOR][/B]
function onSay(cid, words, param)
    if(param == '') then
      doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")
  return true
 end
 if getPlayerStorageValue(cid, vip) < 1 then   
   local monster = look[param]
 if (monster == nil)then
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Monster dont exist or You spelled it wrong.")
    return TRUE
 end
 
 local tmp = getCreatureOutfit(cid)
 tmp.lookType = monster.lol
 
       doCreatureChangeOutfit(cid, tmp)
       doPlayerSendTextMessage(cid, 25, "You have been changed to "..param..".") 
       doSendMagicEffect(getPlayerPosition(cid),26)
  return TRUE
 end
 return TRUE
end


The line in blue change the number to your vip storagevalue.
 
Top