What's new

Pomoc przy skrypciku

minusek

Active User
Joined
Apr 6, 2009
Messages
56
Reaction score
0
Witajcie Ludzie ;p
Potrzebuje pomocy mianowicie mam Transform - spell
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 32)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_OUTFIT)
setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)
addOutfitCondition(condition, 0, 71, 0, 0, 0, 0)
setCombatCondition(combat, condition)
outfit1 = {lookType=30}
outfit2 = {lookType=75}
outfit3 = {lookType=25}
function onCastSpell(cid, var)
doRemoveCondition(cid, 11)
if getPlayerVocation(cid) == 1 then
if getPlayerLevel(cid) >= 2 then
doPlayerSetVocation(cid,2)
doPlayerAddHealthMax(cid, 1000)
doPlayerAddManaMax(cid, 1000)
addEvent(oufit1,2000,cid)
doSetCreatureOutfit(cid, outfit1, -1)
else
end
elseif getPlayerVocation(cid) == 2 then
if getPlayerLevel(cid) >= 20 then
doPlayerSetVocation(cid,3)
doPlayerAddHealthMax(cid, 5000)
doPlayerAddManaMax(cid, 5000)
addEvent(oufit2,2000,cid)
doSetCreatureOutfit(cid, outfit1, -1)
else
end
elseif getPlayerVocation(cid) == 3 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,4)
doPlayerAddHealthMax(cid, 10000)
doPlayerAddManaMax(cid, 10000)
addEvent(oufit3,2000,cid)
doSetCreatureOutfit(cid, outfit1, -1)
else
end
end
end

tylko ze jest problem wiec:
chce zeby to byl staly trans czyli nie odwracalny lecz gdy sie wyloguje i w loguje to moj outfit nie jest taki jaki ma byc przy transie < HELP >

czy ktos wie jak to zrobic
 

minusek

Active User
Joined
Apr 6, 2009
Messages
56
Reaction score
0
Odp: Pomoc przy skrypciku

Pomo?e kto? , bardzo bym prosi? o pomoc
 
Top