Fajar
-
Content Count
52 -
Joined
-
Last visited
Posts posted by Fajar
-
-
-
-
-
-
-
how to creat a script?
Im Newbie, and i've tried only can't extract work
I use this
if ItemID_mainitem == 825 or ItemID_mainitem == 826 or ItemID_mainitem == 827 then SystemNotice( role ,"Cannot plier starter set!") return 0 end
can help me?
-
On 5/12/2017 at 3:53 PM, V3ct0r said:local guild_id = 100 local leader_id = GetGuildLeaderID(guild_id) Notice("Guild ID " .. guild_id .. " leader ID: " .. leader_id)
On 5/12/2017 at 3:53 PM, V3ct0r said:@V3ct0r Where i can put this code?
-
where? i cant find
-
Hello! Can someone help me? How to make set Can't Forge, Socket, Fuse, Upg?
Thanks who can help me
-
-
-
7 hours ago, DangThao said:
I think it should be like:
function check_can_enter_glacierpk(role, copy_mgr) if (NoForge(role) == 0) then SystemNotice(role, "You have forged items! You can't enter the map!") return 0 else return 1 end end
I've tried it, and get the same error
-
-
56 minutes ago, Angelix said:Yes what? He asked for the function you put it into to, not a "yes or no" question. If you want help, you're going to need to be more specific.
Sorry im bad in english.
i put
function CheckItemIsForged(item) return (GetItemForgeParam(item, 0) > 0) end function NoForge(role) -- Checking Look for i = 0, enumEQUIP_RHAND + 1, 1 do local item = GetChaItem(role, 1, i) if (item ~= 0 and item ~= nil) then if (CheckItemIsForged(item) == 1) then return 0 end end end -- Checking Inventory local kbsize = GetKbCap(role) for i = 0, kbsize - 1, 1 do local item = GetChaItem(role, 2, i) if (item ~= 0 and item ~= nil) then if (CheckItemIsForged(item) == 1) then return 0 end end end return 1 end
at the end function.lua. And i put
function check_can_enter_glacierpk(role, copy_mgr) if (NoForge(role) == 0) then SystemNotice(role, "You have forged items! You can't enter the map!") return 0 end return 1 end
in entry.lua
-
-
-
Where i can get MSVCP140D.dll?
-
-
Anyone can help me how to move item in inventory to temporary bag?
Thanks who can help me
-
-
-
Hello. Can Someone help me? How to check item in inventory before entering map?
Thanks who can help me
-
-
Creating New Set Glow Effect
in Guides
Posted · Report reply
@GOAT thanks