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

A Event Script with the following things please..

Joined
May 5, 2010
Messages
62
Reaction score
1
i have this script

Code:
function onSay(cid, words, param)

local posx = getGlobalStorageValue(75314)
local posy = getGlobalStorageValue(75315)
local posz = getGlobalStorageValue(75316)
 
local evtpos = {x=1076, y=1006, z=7}
 
	if words == '!pvp' then
		if getGlobalStorageValue(75310) ~= 10 then
			doPlayerSendCancel(cid,'NO hay eventos en este momento.')
		else	
			doTeleportThing(cid,evtpos)
		end
	elseif words == '/eventx' then
		if getPlayerAccess(cid) >= 3 then
			setGlobalStorageValue(75314, param)
		else
			doPlayerSendCancel(cid,'You not have access for use this command.')
		end
	elseif words == '/eventy' then
		if getPlayerAccess(cid) >= 3 then
			setGlobalStorageValue(75315, param)
		else
		doPlayerSendCancel(cid,'You not have access for use this command.')
		end
	elseif words == '/eventz' then
		if getPlayerAccess(cid) >= 3 then
			setGlobalStorageValue(75316, param)
		else
			doPlayerSendCancel(cid,'You not have access for use this command.')
		end
	elseif words == '/eventopvp' then
		if param == 'on' then
			if getPlayerAccess(cid) >= 3 then
				setGlobalStorageValue(75310, 10)
                                     doTeleportThing(cid,evtpos)
									 doBroadcastMessage(' '.. getCreatureName(cid) ..' Ha ACTivado el concurso de: Matar para entrar di: !pvp', MESSAGE_EVENT_ADVANCE)
                else
                        doPlayerSendCancel(cid,'You not have access for use this command.')
                end
                elseif param == 'off' then
                        if getPlayerAccess(cid) >= 3 then
                                setGlobalStorageValue(75310, 0)
doBroadcastMessage(' '.. getCreatureName(cid) ..' Ha DESactivado el concurso de: Team PvP', MESSAGE_EVENT_ADVANCE)
                else
                        doPlayerSendCancel(cid,'You not have access for use this command.')
                        end
end
 
end
end

and its about a TEAM WAR..
and i want it to be like.. two teams.. if u say !pvp u got to blue team or red.. and only like 5 people can go to each team and when its full then no more people can go in.. and each team to be in red outfit and blue outfit.. and blue team goes to a different place and red another.. can yall understand? xd well i hope u can help me.. i know it sounds difficult..
thank you!
 
then he just died
Okay, let me ask this again..
What happens if a player dies?
He gets teleported to the temple?
He gets teleported to the team temple?
He dies(like if a monster killed him)?
And.. does the event stop when all of one team are dead?
You'd like a command to like get out of the event or once you're in you'll stay until you die or all the people from the other team dies?
 
If a player dies, he just dies and thats it..
Yes, well if he died he will automatically be teleported to temple
No, this is just a normal event, the surviving team wins, and the ones who die just go to regular temple
Dont get this question..
The event stops when the opposite team has no more players alive
Once you die, you can no longer be in, and like in the script i showed above, when i say /eventpvp on they can say !pvp and go to a team randomly and when i say /eventpvp OFF they cant say !pvp and it tells them the event is closed
 
If a player dies, he just dies and thats it..
Yes, well if he died he will automatically be teleported to temple
No, this is just a normal event, the surviving team wins, and the ones who die just go to regular temple
Dont get this question..
The event stops when the opposite team has no more players alive
Once you die, you can no longer be in, and like in the script i showed above, when i say /eventpvp on they can say !pvp and go to a team randomly and when i say /eventpvp OFF they cant say !pvp and it tells them the event is closed
Wait, so, the team can be of 5+ or more people? because at the first post you said that only 5 people can be in each team.
 
sorry, yes i forgot XD i posted this a year ago

and if you can tell me where i can edit the people that can be there. and if the teams are full they cant enter no more obviously :p

------------

are YOU going to do it or are these just questions so the people can know what i want?
 
Last edited by a moderator:
Already have the command, I'm having some trouble with the CreatureScript.
Also, will you add a reward to the team that won?
 
Back
Top Bottom