Jump to content

sockz

Members
  • Posts

    94
  • Joined

  • Last visited

Everything posted by sockz

  1. sockz

    Need help-ACL

    syntax errors and the player argument is p, not thePlayer
  2. better internet, both them and you
  3. sockz

    [HELP]Valhalla 4.0.24

    No. It's so simple anyone can understand it
  4. xampp is bad anyways. XAMPP is for testing purposes mainly for your local machine, if you get into problems using XAMPP, and posting it at their forum, they will stamp you "IDIOT" in your head, and saying "XAMPP has never been made and probably will never be made for serious hosting". XAMPP is made for testing purpose. And it is insecure, and heavy. http://sourceforge.net/projects/miniser ... e/download Uniform server is the way to go. and here's why: 1. Security 2. Lightweight (xampp 51MB, XAMPlite 28MB. Uniform Server 8.75MB). 3. Easier to use. 4. twice as fast (and using this service means he controls your database, not that im saying he's using xampp but still, just so you know).
  5. line 9. looks like you cant check if the data is false, i suppose the whole line turns nil as it doesn't exist.
  6. if you have permission, it'll take it (if use again), if you dont, it'll give. remember to restart resource
  7. local lift = createObject(8231, -1326, -67, 55) createBlipAttachedTo(lift, 5) setElementData(lift, "vglueable", true, true) setElementDoubleSided( lift, true) function liftPermission(player,cmd,targetPlayer) tPlayer = getPlayerFromName(targetPlayer) if tPlayer then if getElementData(player, "lift.permission", false) then setElementData(tPlayer, "lift.permission", true) outputChatBox("You have granted "..targetPlayer.." permission to use /Lift", player) else setElementData(tPlayer, "lift.permission", false) outputChatBox("You have removed "..targetPlayer.." permission to use /Lift", player) end end end addCommandHandler("Lper", liftPermission) addCommandHandler("Lift", function(player) if getElementData(player, "lift.permission") then liftWarpPlayer(player) else outputChatBox("#FF0000Permission: You Don't have Permission to use This Command", player, 255, 255, 255, true) end end)
  8. addCommandHandler("Lift", function( thePlayer, Command ) -- You forgot function here if getElementData(thePlayer, "lift.permission", true ) then liftWarpPlayer(thePlayer) else outputChatBox ( "#FF0000Permission: You Don't have Permission to use This Command", getRootElement(), 255, 255, 255, true ) end end )
  9. function setLiftLevel (sourcePlayer,command,targetPlayer) local accName = getAccountName(getPlayerAccount(sourcePlayer )) if isObjectInACLGroup("user."..accName,aclGetGroup ("Admin")) then outputChatBox ("You may not use this command",sourcePlayer) end if targetPlayer then setElementData ( targetPlayer, "lift.permission", true ) outputChatBox ( "You have granted "..targetPlayer.." permission to use /lift", sourcePlayer ) elseif getElementData(targetPlayer, "lift.permission", true ) then setElementData ( targetPlayer, "lift.permission", false ) outputChatBox ( "You have taken "..targetPlayer.." permission to use /lift", sourcePlayer ) else outputChatBox ("" .. targetPlayer .. " does not exist.", sourcePlayer) end end addCommandHandler ( "liftpermission", setLiftLevel ) then use if getElementData(thePlayer, "lift.permission", true ) then instead of local accName = getAccountName(getPlayerAccount(sourcePlayer )) if isObjectInACLGroup("user."..accName,aclGetGroup ("Admin")) then on /lift cmd
  10. It was never Galaxy host in their TOS, maybe you just mixed 2 websites after visiting there and ashpire servers.I had read their TOS at first day so maybe you need a doctor for brain checkup Stop acting like a kid, you seem like rolling11. I checked it and it had Galaxy Host and after I told him he changed, so mind you shut up? He is rolling11 Ontopic: The server is in Dallas, fix one in europe and you'll get a lot more customers. However I decided to purchase a server. And the dude who complains about the design, dont worry, it's a lot more appealing to your eyes than the UCP However I'm pleased so far. The server's IP I purchased is: 64.31.10.156:22005 incase you want test their host. EDIT: I have a steady ping of 150~ when online.(from Sweden) So far so great. Recommended host
  11. I see (I meant bracket before btw), but I'm curious too, what is getScore and setScore?
  12. That resource is fairly bad IMO. It's clunky and a lot bigger than it has to be. There's a resource called 'text'. Search for it, it does the same thing but it cuts the coding in half and has a lot more simplicity to it
  13. An extra end on line 19 might cause some problems to you.
  14. setElementData/setAccountData
  15. function rhinohit(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) if getElementType(hitElement)=="vehicle" and getElementModel (hitElement) == 432 then setElementHealth (hitElement, getElementHealth(hitElement)-50) end end addEventHandler("onClientPlayerWeaponFire", root, rhinohit)
  16. nothing wrong with it, and those errors are false. Use /restart gates
  17. I told him to check the tutorial section which I know has a tutorial for this. If telling people WHAT to do instead of doing it for them isn't helpful to you then so be it, but dont take it out on anyone else. and HERE: https://forum.multitheftauto.com/viewtop ... 82a81de174 LAZY MUCH?
  18. real.. stop deleting my posts. It would of helped him more than your dumb post did.
×
×
  • Create New...