hasan2salak
ELF Üye
Merhaba arkadaşlar Nation Change ayarlamaya çalışıyorum.
Şöyle yaptım ama başaramadım.
if (EVENT == 901) then -- NTS
NTS2 = HowmuchItem(UID, 810096000);
if NTS2 > 0 then
SelectMsg(UID, 2, -1, 1524, NPC, 72, 700,73,-1);
else
SelectMsg(UID, 2, -1, 1523, NPC,18,5000);
end
end
if (EVENT == 5000) then
ShowMap(UID, 450);
end
if (EVENT == 700) then
Check = NationChange(UID);
if (Check == 0) then
SelectMsg(UID, 2, savenum, 1524, NPC, 10, 905);
elseif (Check == 1) then
SelectMsg(UID, 2, savenum, 1523, NPC, 10, 905);
elseif (Check == 2) then
SelectMsg(UID, 2, savenum, 1526, NPC, 10, 905);
elseif (Check == 3) then
SelectMsg(UID, 2, savenum, 1521, NPC, 10, 905);
end
end
if (EVENT == 905) then
SendNationTransfer(UID)
end
Bi çözüm üretebilcek varmı arkadaşlar ya?
Şöyle denedim o da olmuyor
if (EVENT == 901) then
SendNationTransfer(UID)
end
SendNationTransfer(UID) çalışmıyor sanırım
Şöyle yaptım ama başaramadım.
if (EVENT == 901) then -- NTS
NTS2 = HowmuchItem(UID, 810096000);
if NTS2 > 0 then
SelectMsg(UID, 2, -1, 1524, NPC, 72, 700,73,-1);
else
SelectMsg(UID, 2, -1, 1523, NPC,18,5000);
end
end
if (EVENT == 5000) then
ShowMap(UID, 450);
end
if (EVENT == 700) then
Check = NationChange(UID);
if (Check == 0) then
SelectMsg(UID, 2, savenum, 1524, NPC, 10, 905);
elseif (Check == 1) then
SelectMsg(UID, 2, savenum, 1523, NPC, 10, 905);
elseif (Check == 2) then
SelectMsg(UID, 2, savenum, 1526, NPC, 10, 905);
elseif (Check == 3) then
SelectMsg(UID, 2, savenum, 1521, NPC, 10, 905);
end
end
if (EVENT == 905) then
SendNationTransfer(UID)
end
Bi çözüm üretebilcek varmı arkadaşlar ya?
Şöyle denedim o da olmuyor
if (EVENT == 901) then
SendNationTransfer(UID)
end
SendNationTransfer(UID) çalışmıyor sanırım