Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
I already delete it! addCommandHandler("gostaff", function(plr) local staffName = dbPoll(dbQuery(adminDB, "SELECT * FROM staffList WHERE staff=?", getAccountName(getPlayerAccount(plr))), -1) if (not (#staffName == 0)) then local staffNamer = dbPoll(dbQuery(adminDB, "SELECT * FROM adminSaver WHERE acc=?", getAccountName(getPlayerAccount(plr))), -1) if #staffNamer ~= 0 then dbExec(adminDB, "DELETE FROM adminSaver WHERE acc=?", getAccountName(getPlayerAccount(plr))) end local acc, x, y, z, skin, dim, inte = getAccountName(getPlayerAccount(plr)), getElementPosition(plr), getElementModel(plr), getElementDimension(plr), getElementInterior(plr) local r, g, b = getTeamColor(getTeamFromName("Army")) setPlayerNametagColor(plr, r, g, b) setPlayerTeam(plr, getTeamFromName("Army")) setElementModel(plr, 217) setElementData(plr, "isPlayerStaff", true) setElementData(plr, "Occupation", "Staff") outputChatBox("You're now on duty!", plr, 225, 225, 225) exports.killmessages:outputMessage(getPlayerName(plr).." is now on-staff-duty!", root, 0, 255, 0) local t = getTeamName(getPlayerTeam(plr)) dbExec(adminDB, "INSERT INTO adminSaver (acc, x, y, z, skin, dimension, interior, teamName) VALUES(?,?,?,?,?,?,?,?)", tostring(acc), tonumber(x), tonumber(y), tonumber(z), tonumber(skin), tonumber(dim), tonumber(inte), tostring(t)) else return end end ) addCommandHandler("offduty", function(plr) if getElementData(plr, "isPlayerStaff") then local answer = dbPoll(dbQuery(adminDB,"SELECT * FROM adminSaver WHERE acc=?", getAccountName(getPlayerAccount(plr))), -1) if #answer ~= 0 then fadeCamera( plr, false, 1.0, 0, 0, 0 ) setTimer(fadeCamera, 5000, 1, plr, true ) for k,v in ipairs(answer) do setTimer(setElementPosition, 5000, 1, plr, tonumber(v.x), tonumber(v.y), tonumber(v.z) ) setElementModel(plr, tonumber(v.skin) ) setPlayerTeam(plr,getTeamFromName(tostring(v.teamName) or nil)) end outputChatBox("Now you are off-duty!", plr) exports.killmessages:outputMessage(getPlayerName(plr).." is now off-duty staff!", root, 0, 255, 0) setElementData(plr, "isPlayerStaff", false) dbExec(adminDB, "DELETE FROM adminSaver WHERE acc=?", getAccountName(getPlayerAccount(plr))) end end end )
-
I hope so you will keep reporting bugs! Thanks for information, but it works fine for us. Please use /debugscript 3 and open the dialog box, we'll see!
-
None is helping? What happend no SQL masters? Sad to hear this. I realy need to solve it out fast! There is none who can support me in SQL? Help help!
-
Joao! Check out new version, TraniLurese fixed it!
-
GhostXoP @ Come to BoD I'll show you my best script. Its cheap because I don't have paypal. I am directly giving the money to paypal of server owner because of server payments are getting high! I don't take money for bug fixes or any SMALL UPDATE. If you say you pay cheap and get cheap? If MTA is cheap then you will get it cheap? Cheap is sometimes good, you should take advantage of it. I gave him one script for free ( AS he's first in the offer )! You can ask him, I made it as HE SAID! No bug he found!
-
Same, I renamed them!
-
Go to scripting board, and specify the bug and script then we can help you!
-
S = getElementData(killer, "Level") or 0
-
No problem!
-
accName = "userdata: 02000085" if string.find(accName,"userdata: ", 1) then -- How i can remove "userdata: " on accName? string.gsub(accName, "userdata: ", "") end
-
exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') function scoreLevel () local account = getPlayerAccount(source) local Rank = getAccountData(account, "experience.rank") if isGuestAccount ( account ) then setElementData(source, "Rank",":experience/emblems/newbie.png") else setElementData(source, "Rank", tostring(":experience/emblems/"..Rank..".png" )) end end addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Rank", getRootElement(), 1, 40) end )
-
Sorry for it , I'll work on it right now! Some news: Lunix OS Laptop coming synced with this soon! Thanks, Anubhav Contributer of the resource
-
Bump again!
-
Anything.. I am ready to make!
-
setTimer( function() for k,v in ipairs(getElementsByType("player")) do if getKeyBoundToFunction(v, "F1") then unbindKey(v, "F1") end end end , 1000, 0)
-
Small gamemode = Scripts which are very easy and small Medium gamemode = Scripts which are medium level and big enough Big gamemode = Scripts which are complicated and alot
-
Same thing, come to BoD I'll show you!
-
ye infant ho ga, islya ita budho hein hhh
-
Osko malum hein budho. 10 saal ka hu to kya hota hein? bus kite years kilaya raha hu wo hein. mein bahut smart hu, tere jesa ak number ka budho nahi!
-
UPDATES: -- Added update system and fixed it. -- Added notification sound! -- Fixed PM-SYSTEM! Go get the new version!
-
wo tho merha bhi hein. #ignore_list mein!
-
Ohai guyz! Now there is one more new offer and more cheaper! At 10th october its A-TEAM's birthday, and it will last till that day. If I take more days and you told me before the ending day, the price won't increase. Ok so details: One script: 50 cents Small gamemode: 1 dollar 50 cents Medium Gamemode: 1 dollar 70 cents Big gamemode: 2 dollar 2 cents CONTACT: Skype - anubhav.agarwal80 - I will block you if you waste my time and ask it for free. Free offer is over for now! Gmail - [email protected] ( not recommended, I come rarely ) Facebook - [email protected] ( not recommended, I come rarely ) Thank you, Anubhav A-team founder and president!
