
Baseplate
Members-
Posts
1,417 -
Joined
-
Last visited
Everything posted by Baseplate
-
A: Anything that helps anyone here Q: Why not make some, dunno...something really useful to players..?
-
playerr isn't really defined and isElementInWater is wrong. function VeiculoVIP() if (not isElementInWater(source)) then local x, y, z = getElementPosition (source) carro = createVehicle ( 411, x, y, z ) warpPedIntoVehicle ( source, carro ) end end addEvent("VeiculoVIP", true) addEventHandler("VeiculoVIP", resourceRoot, VeiculoVIP)
-
addEventHandler ("onPlayerCommand", root, function (command) if (command == "superman") then local accName = getAccountName(getPlayerAccount(source)) if (isObjectInACLGroup("user." .. accName, aclGetGroup("Admin"))) then cancelEvent () end end end )
-
A: Any gamemode/script which is not stolen. Q: You?
-
Thanks mate, it's just my first time and I just find it all clear now
-
addEventHandler ('onPlayerCommand', root, function ( cmd ) if (cmd == "superman") then local accName = getAccountName(getPlayerAccount(source)) if (isObjectInACLGroup("user." .. accName, aclGetGroup("Admin"))) then cancelEvent ( ) end end end )
-
A:Maybe, some idiots should be added Q:Who should be added?
-
So, I made this script and I'm not sure if it works or not as this is my first time with SQLite. addEventHandler("onResourceStart", resourceRoot, function() exports.scoreboard:addScoreboardColumn("VIP", 3) executeSQLCreateTable("VIP", "account TEXT") end ) addCommandHandler("addVIP", function(player, cmd, account) if (getElementData(player, "thePlayerStaffLevel") == 5) then local targetaccount = getAccountName(account) executeSQLInsert("VIP", targetaccount) exports.DxChat:sayServerMessage(player, "You have succefully added "..account.." as VIP", 0, 255, 0) else exports.DxChat:sayServerMessage(player, "You don't have sufficient rights", 0, 255, 0) end end ) addCommandHandler("delVIP", function(player, cmd, account) if (getElementData(player, "thePlayerStaffLevel") == 5) then local targetaccount = getAccountName(account) executeSQLDelete("VIP", targetaccount) exports.DxChat:sayServerMessage(player, "You have succefully deleted "..account.." and he is no longer a VIP", 0, 255, 0) else exports.DxChat:sayServerMessage(player, "You don't have sufficient rights", 0, 255, 0) end end ) addEventHandler("onPlayerLogin", root, function() local result = executeSQLSelect( "VIP", "account") if (type(result) == "table" and #result == 1) then local thePlayer = getAccountPlayer(result) setElementData(thePlayer, "VIP", "Yes") else setElementData(thePlayer, "VIP", "No") end end ) P.S:Before saying "why don't you test it yourself?" I don't have MTA, thanks.
-
I did see that, but why don't you contact game-monitor about that issue?
-
He'll fuc*inq kill him, and why are you using "q" in place of "g"? holy shit?
-
lol, paradise is leaked? get yourself updated, vG is leaked, paradise is free for use to everyone.
-
He wrote "test" means he'll change them, think already and use your brain.
-
You should move the object back by adding a timer and using moveObject again and change the arguements.
-
createObject -- create the object createColRectangle -- create a colshape addEventHandler -- event handler "onColShapeHit" -- event if getElementData then -- some checking moveObject -- move it a bit away setTimer -- add a timer moveObject -- move the gate back
-
On Connect: http://imgur.com/mmT1HhE Login: http://i.imgur.com/LYtnxQu.jpg Register: http://i.imgur.com/8RZ43sa.jpg Forgot: http://i.imgur.com/NRezUNn.jpg Help: http://i.imgur.com/67j59Pl.jpg However, my current PC can't run MTA, I'll check if I can post/get more pictures.
-
A:Yah Q:You?
-
I agree with zerb and brandon, a shitty game which requires a real gaming machine.
-
And fixing the server browser, maybe?
-
Try using triggerClientEvent in a server-side script.
-
Sure, I'm a guy who makes all of the scripts in a night...that list you're seeing is what we HAVE DONE, now WHAT WE'RE DOING, thanks.
-
If you don't have anything to say, get outta here cause we don't really need useless posts.
-
wlh mafhemtekech...
-
lol melle5er wlh..
-
Good work, but the GUI doesn't seem to be real professional to me, no offence, but nice job anyways