Jump to content

Baseplate

Members
  • Posts

    1,417
  • Joined

  • Last visited

Everything posted by Baseplate

  1. A: Anything that helps anyone here Q: Why not make some, dunno...something really useful to players..?
  2. 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)
  3. 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 )
  4. A: Any gamemode/script which is not stolen. Q: You?
  5. Thanks mate, it's just my first time and I just find it all clear now
  6. 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 )
  7. A:Maybe, some idiots should be added Q:Who should be added?
  8. 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.
  9. I did see that, but why don't you contact game-monitor about that issue?
  10. He'll fuc*inq kill him, and why are you using "q" in place of "g"? holy shit?
  11. lol, paradise is leaked? get yourself updated, vG is leaked, paradise is free for use to everyone.
  12. He wrote "test" means he'll change them, think already and use your brain.
  13. You should move the object back by adding a timer and using moveObject again and change the arguements.
  14. 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
  15. 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.
  16. I agree with zerb and brandon, a shitty game which requires a real gaming machine.
  17. And fixing the server browser, maybe?
  18. Baseplate

    helppp!!!

    Try using triggerClientEvent in a server-side script.
  19. 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.
  20. If you don't have anything to say, get outta here cause we don't really need useless posts.
  21. Good work, but the GUI doesn't seem to be real professional to me, no offence, but nice job anyways
×
×
  • Create New...