
mremin
Members-
Posts
46 -
Joined
-
Last visited
Everything posted by mremin
-
∞ Tr-Servers.com > Turkish Destruction Derby [TDD/THDD/TFDD/TCW] ∞ Tr-Servers.com > Turkish Hard Destruction Derby [TDD/THDD/TFDD/TCW] ∞ Tr-Servers.com > Turkish Fun Destruction Derby [TDD/THDD/TFDD/TCW] ∞ Tr-Servers.com > Turkish ClanWar/Training Server [TDD/THDD/TFDD/TCW] ∞TDD > [mtasa://109.230.196.53:22003] ∞THDD > [mtasa://109.230.196.53:22100] ∞TFDD > [mtasa://109.230.196.53:22022] ∞TCW > [mtasa://109.230.196.53:22009] Resmi Facebook Sayfamız : Bağlanmak İçin Tıklayın. Resmi Facebook Grubumuz : Bağlanmak İçin Tıklayın. Resmi Sitemiz : Bağlanmak İçin Tıklayın. Resmi TeamSpeak3 Sunucumuz : tts.ts3.com.tr | 75.ts3.com.tr
-
I understand but i didn't see the type of Team DD gamemode. All of them are turkish server which you can see in the picture and they use our tag of tdd. To summarize, there arent team dd gamemode.
-
Original: mtasa://213.238.176.29:22003 - ∞ TDD++ > Turkish Destruction Derby Our server was opened fourteenth (14th) October in 2012. At those time (when it was opened), we are the only one who use the tag of TDD and we are continue to use, too. But number of the server of spam start to increase. Firstly, we aren't consider this condition but now, it makes visual pollution and this doesn't make us satisfied, we want to see only our orginal server's ip adress when searching with tag of TDD. Thanks to crew of MTA:SA
-
working ty castillo.how can i make this script addcommandhandler buyhay:D
-
addCommandHandler ("buykick", function(player,command,kickPlayerName) local playerCash = loadPlayerData (player,"cash") if (tonumber(playerCash) > 19999) then if (findPlayerByName (kickPlayerName)) then local playerToKick = findPlayerByName (kickPlayerName) setTimer(kickPlayer,2500,1,playerToKick,getPlayerName(player) .. " have buykicked you!") outputChatBox (getPlayerName(playerToKick) .. " #FF0000is buykicked by " .. getPlayerName(player) .. "#FF0000.",getRootElement(),255,0,0,true) savePlayerData (player,"cash",loadPlayerData(player,"cash") -20000) else outputChatBox ("The nickname seems to be wrong.",player,255,0,0,false) end else outputChatBox ("You can't kick anyone, you need 20,000$ first!",player,255,0,0,false) end end) this command working but i need buyHay
-
doesnt work. i have xml recording system
-
addEvent("buyHay", true) addEventHandler("buyHay", getRootElement(), function() if (tonumber(playerCash) > 19999) then savePlayerData (player,"cash",loadPlayerData(player,"cash") -20000) x,y,z = getElementPosition( source ) createObject ( 3374, x, y, z, 120, 0, 0 ) outputChatBox("Hay Successfully droped", source, 255, 255, 0, true) else outputChatBox("Not enough money.", source, 255, 0, 0, true) end end ) attempt to compare number with error]Pls helpme how can i work this script
-
who is know string.match code?I need an example.
-
yes u'r right but forum doesn't know, how to I learn.
-
gave any script doesn't work.Work but it is not working the way I want
-
[2011-01-15 19:30:57] CHAT: [sR]mR.EmiN: !points [2011-01-15 19:31:05] WARNING: puan\userdata.lua:370: Bad argument @ 'split' [2011-01-15 19:31:05] ERROR: puan\userdata.lua:371: attempt to index local 'message' (a boolean value)
-
proracer [2011-01-15 19:24:21] WARNING: puan\userdata.lua:1: Bad argument @ 'addEventHandler' and doesn't work function
-
again error. [2011-01-15 19:11:47] SCRIPT ERROR: puan\userdata.lua:2: '(' expected near 'abc' [2011-01-15 19:11:47] WARNING: Loading script failed: puan\userdata.lua:2: '(' expected near 'abc'
-
addEventHandler ("onPlayerChat",getRootElement(), function abc (message,type) message = split(message,32) if (message[1] == "!points") then local player = getPlayerFromName(message[2]) or source local playerPoints = loadPlayerData (player,"points") setTimer(outputChatBox,50,1,getPlayerName (player) .. " #FF0000has " .. tostring(playerPoints) .. " points!",getRootElement(),255,0,0,true) addCommandHandler ( "name", abc ) [2011-01-15 18:54:08] SCRIPT ERROR: puan\userdata.lua:2: '(' expected near 'abc' [2011-01-15 18:54:08] WARNING: Loading script failed: puan\userdata.lua:2: '(' expected near 'abc'
-
Jumper u too script working but dont work function.
-
SDK ur command working but !points full name:(:(
-
SCRIPT ERROR: puan\userdata.lua:2: '(' expected near 'abc' WARNING: Loading script failed: puan\userdata.lua:2: '(' expected near 'abc' sry my english bad i dont understand Jumper
-
addEventHandler ("onPlayerChat",getRootElement(), function(message,type) if (string.find(message,"!points")) and not (string.find(message," !points")) then local playerPoints = loadPlayerData (source,"points") setTimer(outputChatBox,50,1,getPlayerName (source) .. " #FF0000has " .. tostring(playerPoints) .. " points!",getRootElement(),255,0,0,true) How do i !points name command?
-
WARNING: race_starter_pack\server.lua:145: Bad argument @ 'getPlayerFromName' 145 if not getPlayerFromName(tplayer) then tplayer = psource else tplayer = getPlayerFromName(tplayer) end
-
function stats(psource,cname,tplayer) if not getPlayerFromName(tplayer) then tplayer = psource else tplayer = getPlayerFromName(tplayer) end achUnlockedNumber(tplayer) local serial = getPlayerSerial(tplayer) local RaceAttempts = executeSQLSelect ( "RaceAttempts", "RaceAttempts","serial = '" .. serial .. "'") local DDAttempts = executeSQLSelect ("DDDM","DDAttempts","serial = '" .. serial .. "'") local DDWins =executeSQLSelect ( "DDDM", "DDWins","serial = '" .. serial .. "'") local Wins1 = executeSQLSelect ( "RaceWins", "RaceWins","serial = '" .. serial .. "'") local Money = executeSQLSelect ( "MoneyB", "Money","serial = '" .. serial .. "'") local MoneyB = executeSQLSelect ( "MoneyB", "B","serial = '" .. serial .. "'") if tonumber(RaceAttempts[1]['RaceAttempts']) == 0 then ratio = 0 else ratio = (tonumber(Wins1[1]['RaceWins'])/tonumber(RaceAttempts[1]['RaceAttempts']))*100 end if tonumber(DDAttempts[1]['DDAttempts']) == 0 then rratio = 0 else rratio = (tonumber(DDWins[1]['DDWins'])/tonumber(DDAttempts[1]['DDAttempts']))*100 end outputChatBox(getPlayerName(tplayer).."'s Stats: Attempted: "..RaceAttempts[1]['RaceAttempts'].." races, "..DDAttempts[1]['DDAttempts'] .." DDs. Won: "..Wins1[1]['RaceWins'].." races("..ratio.."%), "..DDWins[1]['DDWins'].." DDs("..rratio.."%). Cash: $"..Money[1]['Money'].. " Unlocked "..getElementData(tplayer,"data.Achnum").."/9 Achievements("..MoneyB[1]['B'].."B)",root,173,218,068) end addCommandHandler("stats",stats) addCommandHandler("st",stats) I see only own stats.How can I do /stats name command. I'm sorry English is bad
-
function stats(psource,cname,tplayer) if not getPlayerFromName(tplayer) then tplayer = psource else tplayer = getPlayerFromName(tplayer) end achUnlockedNumber(tplayer) local serial = getPlayerSerial(tplayer) local RaceAttempts = executeSQLSelect ( "RaceAttempts", "RaceAttempts","serial = '" .. serial .. "'") local DDAttempts = executeSQLSelect ("DDDM","DDAttempts","serial = '" .. serial .. "'") local DDWins =executeSQLSelect ( "DDDM", "DDWins","serial = '" .. serial .. "'") local Wins1 = executeSQLSelect ( "RaceWins", "RaceWins","serial = '" .. serial .. "'") local Money = executeSQLSelect ( "MoneyB", "Money","serial = '" .. serial .. "'") local MoneyB = executeSQLSelect ( "MoneyB", "B","serial = '" .. serial .. "'") if tonumber(RaceAttempts[1]['RaceAttempts']) == 0 then ratio = 0 else ratio = (tonumber(Wins1[1]['RaceWins'])/tonumber(RaceAttempts[1]['RaceAttempts']))*100 end if tonumber(DDAttempts[1]['DDAttempts']) == 0 then rratio = 0 else rratio = (tonumber(DDWins[1]['DDWins'])/tonumber(DDAttempts[1]['DDAttempts']))*100 end outputChatBox(getPlayerName(tplayer).."'s Stats: Attempted: "..RaceAttempts[1]['RaceAttempts'].." races, "..DDAttempts[1]['DDAttempts'] .." DDs. Won: "..Wins1[1]['RaceWins'].." races("..ratio.."%), "..DDWins[1]['DDWins'].." DDs("..rratio.."%). Cash: $"..Money[1]['Money'].. " Unlocked "..getElementData(tplayer,"data.Achnum").."/9 Achievements("..MoneyB[1]['B'].."B)",root,173,218,068) end addCommandHandler("stats",stats) addCommandHandler("st",stats) Need to write the whole name /stats [TAG]NaMe . how can i make /stats name..
-
İ have this function but have error 17. line bad argument @ ' getPlayerSerial' 5. and 11. line bad argument @ ' getPlayerName' Attempt to concatenate a boolean value function getPlayerCash (source, cmd, player) local player = player or source local playerPoints = loadPlayerData (player, 'cash') outputChatBox (getPlayerName (player)..' #FF0000has '..tostring (playerPoints)..'$!', root, 255, 0, 0, true) end function getPlayerPoints (source, cmd, player) local player = player or source local playerPoints = loadPlayerData (player, 'points') outputChatBox (getPlayerName (player)..' #FF0000has '..tostring (playerPoints)..' points!', root, 255, 0, 0, true) end function loadPlayerData (player,datatype) local playerIP = getPlayerSerial (player) if (playerIP) then local root = xmlLoadFile ("users.xml") if (root) then local usersNode = xmlFindChild (root,"user",0) if (usersNode) then local playerRootNode = xmlFindChild (usersNode,"SERIAL_" .. getPlayerSerial(player),0) if not (playerRootNode == false) then local playerData = xmlNodeGetAttribute (playerRootNode,datatype) if (playerData) then xmlUnloadFile (root) return playerData else xmlNodeSetAttribute (playerRootNode,datatype,0) xmlSaveFile (root) xmlUnloadFile (root) return 0 end else local playerRootNode = xmlCreateChild (usersNode,"SERIAL_" .. getPlayerSerial(player)) xmlNodeSetAttribute (playerRootNode,datatype,0) xmlSaveFile (root) xmlUnloadFile (root) return 0 end end end end end