آلسلآم عليككم,,
المهم عـندي مشكله فـي آلتصويت حق آلريدو ,,
(أن اللآعب يقدر يصوت أكثر من مرههء )
وآلشيء ألثآني ,, ألوآننء ألنصوص ..
وهذآ الكود..
addCommandHandler("redo", function(source)
if not i then i = 0 end
if i >= 4 then
outputChatBox("[REDO]: Die Map wird bereits wiederholt!", root,0,125,0)
else
i = i + 1
end
if i == 3 then
outputChatBox("[REDO]: "..getPlayerName(source).." vote for redo! ["..i.."/3]",root,0,125,0)
outputChatBox("[REDO]: Map will be restarted!",root,0,125,0)
g_ForcedNextMap = currentMap
setTimer(function() i = 0 end, 150*1000,1)
elseif i <= 2 then
outputChatBox("[REDO]: "..getPlayerName(source).." vote for redo! ["..i.."/3]",root,0,125,0)
end
end)
* آلكود مآخذههء من موضوع أجنبي..!