auto scroll script
- nucular
- Site Admin
- Posts: 260
- Joined: Sat Jan 07, 2017 9:08 pm
- Has thanked: 27 times
- Been thanked: 388 times
Re: auto scroll script
viewtopic.php?f=4&t=219 didn't you read this?^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Re: auto scroll script
hey i made this script but is nothing happen when i hit enable... can anyone help me ?
Code: Select all
function CheckRunScroll()
if Player:GetState():GetState( Helper:CheckName("Increase Movement Speed") ) == nil and Helper:CheckAvailableInventory ( "Greater Running Scroll" ) then
PlayerInput:Inventory( "Greater Running Scroll" );
end
end
function CheckRunScroll()
stateID = {9960};
foodName = {"Greater Running Scroll"};
flag = 0;
for _,v in ipairs(stateID) do
if Player:GetState():GetState( v ) ~= nil then
flag = flag + 1;
end
end
if flag == 0 then
for a,b in ipairs(foodName) do
if Helper:CheckAvailableInventory( b ) then
PlayerInput:Inventory( b );
break;
end
end
end
return true;
end
- Attachments
-
- Scroll.rar
- auto scroll script
- (409 Bytes) Downloaded 2 times
Who is online
Users browsing this forum: No registered users and 1 guest