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

Lua Command to start global event.

Shadowman321

Member
Joined
Mar 27, 2010
Messages
205
Reaction score
22
I have no idea how to do something like that. But that will be nice to have this command.
Can someone help me?
Globalevent with function onTimer(). For example command /start will start this event.
 
you need edit your script in Talkactions
I havent any... i want to create one but i dont know how. Any function like addevent? What can be included in talkaction script, witch can run global event script?
I want something like this:
/event name
And after this event with:
<globalevent name="name" time="04:02" event="script" value="name.lua"/>
Will start.

I dont know something like this?
function onSay(cid, words, param, channel)
StartGlobalEvent(name)
end
Or param like name to easy start any event.

Its possible at all?

@edit
I have moved globalevent to talkaction and set function only. But its not easy to copy all globalevents and add command to every single of it... I want 1 command with param what can start global event by their name.
 
Use storages, set X storage in talkaction, use an onThink to check that storage and problem solved.
 
Back
Top