• 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!

[TFS 1.0] speeding up onThink at NPCs (2secs -> 0.5secs)

Zyntax

*WannaBe Scripter*
Joined
Jan 27, 2010
Messages
533
Reaction score
40
Location
Lua & XML Section
hey there,
just thought if it would be possible to speed up the onThink process from specific NPCs.
Let it execute the function more often then every 2 secs.

Code:
function onThink(cid, interval)
 selfSay("Hi there")
end
Would be nice if he would say that text every e.g. 0.5 seconds.

Possible?
 
Back
Top