nhocluka
07-01-12, 09:41 AM
function MissIon11(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
elseif CzId==2 then
if Player.Player_Job_leve>=2 then
return
elseif Player.Player_Level < 35 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,1,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+100000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
cho hỏi id npc ở đâu và ai giải thích ý nghĩa dùm .thk all
local Player = GetPlayer(UserWorldId)
if CzId==1 then
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
elseif CzId==2 then
if Player.Player_Job_leve>=2 then
return
elseif Player.Player_Level < 35 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,1,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+100000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
cho hỏi id npc ở đâu và ai giải thích ý nghĩa dùm .thk all