- 360
- 41
Lua:
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampAddChatMessage(string.format('[%s] {FFFFFF}Loaded.', thisScript().name), 0xFFCD5C5C)
end
function trade()
if (sampIsDialogActive() and sampGetCurrentDialogId() == 8252) then
sampAddChatMessage("succeful", 0x00DD00)
end
end