What's new

wodbo transy

Status
Not open for further replies.

bimbrownica

New User
Joined
Aug 11, 2010
Messages
8
Reaction score
0
Mam problem z transformami na wodbo. Dorobi?em nowy transform goku ssj5 i po wylogowaniu outfit wraca do goku ssj4. Gdy napisze goku transform nic sie nie dzieje dopiero gdy napisze goku revert moge sie transformowac. Jak zrobi? ?eby po wylogowaniu od razu mo?na by?o sie transformowa??
skrypt na transform wygl?da tak:
Code:
function onSay(cid, words, param)
local voce = 206
local lvl = 500
local voc = 411
local outfit = {lookType=27,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50} -- Zmiana outfitu w id?
local outfitTime = 109999990000000000
local napis = "GOKU HAA!!!"
local effekt = 233
----------------------kod-----------------------------
if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then
doPlayerSetVocation(cid,voc)
doSetCreatureOutfit(cid, outfit, outfitTime)
doPlayerSay(cid,napis,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt)
else
doPlayerSendCancel(cid,"Musisz sie dostosowac do wymagan!")
end
return 1
end
 
Status
Not open for further replies.
Top