Jump to content

prodigy285

Members
  • Posts

    61
  • Joined

  • Last visited

Everything posted by prodigy285

  1. Its just a freakin red cylinder :L
  2. @Denny if im not mistaken just edit the fy and fx and im all set?
  3. Ok explain everything for me please juste xplain all for it to work i need it to work at the doherty sf garage
  4. My question was just right the x coordinate next to it or type = first
  5. Ok so if you guys are suposed to be helping me how about breaking it down to basic to help me erase "get player team" and put the x position coordinates or leave it and type = what ever the x postion coordinate is?
  6. Im still new to this but was i suposed to edit that ^^^?
  7. createMarker "onMarkerHit" -- event getPlayerTeam outputChatBox else killPed or spawnPlayer
  8. Does any body have a script like if a regular user enters the area it kills them or spawn them some were else please i really need one and if you do find one can you tell me how to find the size of the area.
  9. Thank you guys so much it works only i can login and out and nobody can thank you.
  10. Ok so ive added it good it works but i cant login. :L
  11. Do you mind explaining what to do with that?
  12. The subject say's it all i want to disable login/register for regualr users.
  13. meaning X/Y coordinates? Because i edited the x y and other things right but then it still dident work.
  14. because thats a secure zone script and im trying to make it function in the sf garage area but idk what radar 1 is becaus ethey said at the top edit that.
  15. Hello everyone i need help functioning the "securezone" resource/script what do i put in radar1??? --COPY ALL OF THIS BUT CHANGE, radar1, zone1, enterArea1, warp1, displayTimer1, (And sometimes the "function.addAccount")-- radar1 = createRadarArea(84, 1774,320,370,0,255,0, 100) setElementData(radar1,"zombieProof",true) Zone1 = createColRectangle (84, 1774,320,370) addEventHandler("onColShapeHit", Zone1, function(h) if not isElement(h) then return end if getElementData(h,"zombie") then killPed(h) end --These zones are also zombie proof end) function enterArea1(thePlayer) local posX, posY = getElementPosition(thePlayer) local inArea = isInsideRadarArea(radar1, posX, posY) if (inArea) then if hasObjectPermissionTo(thePlayer, "function.addAccount", false) then --Specify who can enter the zone primaryWeaponControl = isControlEnabled ( thePlayer, "fire" ) if ( primaryWeaponControl == true ) then toggleControl ( thePlayer, "fire", false ) -- change to true/false to allow/disallow shooting. outputChatBox("***Safe Zone***", thePlayer, 0, 255, 0, true) end else triggerClientEvent(thePlayer, "displayTimer1", thePlayer) end end end addEventHandler("onColShapeHit", Zone1, enterArea1) function warp1() local posX, posY = getElementPosition(source) local inArea = isInsideRadarArea(radar1, posX, posY) if (inArea) then if hasObjectPermissionTo(source, "function.addAccount", false) then --Specify who can enter the zone outputChatBox("***CHECKER*** You are allowed in this zone.", source, 0, 255, 0, true) else outputChatBox("You are not allowed in this area, Sorry...", source, 255, 0, 0, true) outputChatBox("You have been warped.", source, 255, 0, 0, true) if isPedInVehicle ( source ) then local playerVehicle = getPedOccupiedVehicle ( source ) setElementPosition(playerVehicle, 2341.2072753906, -1658.8668212891, 13.379216194153) else setElementPosition(source, 2341.2072753906, -1658.8668212891, 13.379216194153) end end end end addEvent("warp1", true) addEventHandler("warp1", root, warp1) ---------------------------------------------------------------------------------------------------------------------------------------------
  16. I already fixed it myself.
  17. Its telling me to buy the book. and i really dont wanna script ill just use other's scripts.
  18. Im sorry i do this everyday but im still learning on adding things to mtasa except resources but were to put that ^^^.
  19. Hello does anyone have a script/resource that is a secure zone meaning if a regular person enters they will die or respawn some were else ive tried the script secure zone but idk how to work it any help????
×
×
  • Create New...