PDA

View Full Version : [Lua] Event system



Grandelf
22-11-09, 07:43 AM
Event system

This is an event system I made. I'd like to share it with the community. Ok i'll explain what it does.
Its a kind of system when you type in a command players will be able to join that event by typing a simple command, will be able to revive in the event area, when the GM activates the revive command, and some more things.

The commands:
#event activate - Will make players able to join the event. (GM only)
#event deactivate - Will close the event, you can no longer join. (GM only)
#event join - The command to join the event.
#revive - The command to revive yourself.
#event leave - The command to leave the event.
#event commands - Shows a list of the commands.
#event remind - Sends a msg to all players to remind them that there is an event going on. (GM only)
#revive activate - Activates the revive command. (GM only)
#revive deactivate - Deactivates the revive command. (GM only)


I made it possible to deactivate the revive command so players wont be able to revive in PvP events.


The script: http://pastebin.com/f3f8cf11b

Dimman
22-11-09, 10:30 AM
Nice release Grand :) +rape

Wolferine
24-11-09, 12:25 PM
Very awesome, keep up the good work +rep