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

!zombie

Majeski20

New Member
Joined
Apr 21, 2008
Messages
602
Reaction score
4
Location
Sweden
Hello guys! I just wonder if somone could make a talkaction for me, the word should be !zombie , or something like that and it should check how many players that are in Zombie event, is that possible :)?

rep
 
Can you tell me how players can join to Zombie event?

The best option is to make sth like global storage for players in this event (if player join then storage+1, if player leave then storage -1)

And make talkaction like this:
LUA:
function onSay(cid, words, param, channel)
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Already "..getGlobalStorageValue(1000).." player's participate in Zombie event.")
	return true
end
XML:
	<talkaction words="!zombie" event="script" value="zombie.lua"/>
 
Back
Top