• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[storage to step floor]

lopez65

Member
Joined
May 10, 2012
Messages
294
Solutions
1
Reaction score
16
Location
Barcelona
hi
Someone who understands, I could make a simple movement script, would only be stepping on a tile and underfoot like a storage value for use in, for example, door.

  1. Distro name: TFS 1.0
  2. Script type: movements
  3. Description of the command sequence: stepping on a tile you a storage value to use it in a closed door that asks that storage.

greetings and thanks
 
Should it do anything else besides setting storage?
Code:
function onStepIn(cid, item, position, fromPosition)
     local player = Player(cid)
     if not player then
         return true
     end
     player:setStorageValue(8000, 1)
     return true
end
 
Should it do anything else besides setting storage?
Code:
function onStepIn(cid, item, position, fromPosition)
     local player = Player(cid)
     if not player then
         return true
     end
     player:setStorageValue(8000, 1)
     return true
end
It was not only this, thanks for your help
 
Back
Top