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

GlobalEvent Team battle scripts - Map changing - For war servers!

made a mistake here.
use tfs 0.4

Code:
[22:22:56.312] >> Loading script systems
[22:22:56.703] [Error - LuaInterface::loadFile] data/creaturescripts/scripts/loo
kScores.lua:15: unexpected symbol near '.'
[22:22:56.703] [Warning - Event::loadScript] Cannot load script (data/creaturesc
ripts/scripts/lookScores.lua)
[22:22:56.703] data/creaturescripts/scripts/lookScores.lua:15: unexpected symbol
 near '.'

lookscores:

Code:
local teams = {
    blueName = 'Blue Bangbabies',
    redName = 'Red Rageboys',
    blueScore = 101,
    redScore = 102,
    bluePlayerScore = 1004,
    redPlayerScore = 1006,
    bluePlayerDScore = 1005,
    redPlayerDScore = 1007,
    }

function onLook(cid, thing, position, lookDistance)
    if isPlayer(thing.uid) then
        if getPlayerStorageValue(thing.uid, 1002) == 1 then
            doPlayerSetSpecialDescription(thing.uid, .nPwned  ..  getPlayerStorageValue(thing.uid, teams.bluePlayerScore) ..   ..  teams.redName .. .nPwned  .. getPlayerStorageValue(thing.uid,  teams.bluePlayerDScore) ..  times by the  .. teams.redName .. )
        elseif getPlayerStorageValue(thing.uid, 1003) == 1 then
            doPlayerSetSpecialDescription(thing.uid, .nPwned  ..  getPlayerStorageValue(thing.uid, teams.redPlayerScore) ..   ..  teams.blueName .. .nPwned  .. getPlayerStorageValue(thing.uid,  teams.redPlayerDScore) ..  times by the  .. teams.blueName .. )
        end
    end
return true
end

help me plix

thanks
 
How I can use this event to only one map, because I have 6 maps in my OT but I only want active that event in "Fibula" and in others maps normal...
 
How I can use this event to only one map, because I have 6 maps in my OT but I only want active that event in "Fibula" and in others maps normal...
BUMP!
 
How I can use this event to only one map, because I have 6 maps in my OT but I only want active that event in "Fibula" and in others maps normal...
BUMP!
 
Someone need to re make the whole thing etc with no bugs :p
this wont work in 2012 xD
 
Back
Top