Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. Jaysds1

    House system

    Do you have permission to edit their resource???
  2. Is this your admin panel??? If it is, then maybe you are unbinding all controls...
  3. Sorry, but you would need to ask the author if you're allowed to edit the code, because we only help people trying to create their own code/script.
  4. copy the code again and try it...
  5. Can you download and run this MTADiag, then post the generated PasteBin url here please.
  6. Jaysds1

    need help

    Since you think it's impossible then you have no business here. Yes why? becuase his code make no sense in Lua PG. ummm, actually, that's php programming(website programming)
  7. Jaysds1

    need help

    If you want to start/stop/restart your server, you would need to put your server on a vps, it would not be able to start/stop/restart on anything else other than a vps or your computer.
  8. try this: addEventHandler("OnClientPlayerSpawn",resourceRoot,function() ped = createPed (147, -2460.5966796875, 777.271484375, 35.171875,90) setTimer (setPedControlState,7000,1,ped,"crouch", true) end) EDITED!
  9. It was kinda nice, but wasn't really funny Anyways, Nice video
  10. Jaysds1

    Number 8

    Check this out: setWorldSoundEnabled
  11. well, if you set the control state and it's moving then you could try triggering an event every players computer to set the ped moving, and while it's moving, you could just get the position,rotation, and animation.
  12. why don't you just put them in a table? try this: local camTable = { {1262, -1154, 96,1190, -1195, 58}, --cs,cy,cz,cpx,cpy,cpz {512.2, -1263.57, 32.53,542.16, -1287.07, 17.24} } function firstSlider(source) setTimer(function() local cx,cy,cz,cpx,cpy,cpz = unpack(camTable[math.random(#camTable)]) setCameraMatrix(source, cx1, cy1, cz1, cpx1, cpy1, cpz1) fadeCamera(source, true, 1.0) end, 1000, 2) end addEventHandler("onPlayerLogin", getRootElement(), firstSlider)
  13. example: Client: addEventHandler("onClientResourceStart",resourceRoot,function() triggerServerEvent("onResourceLoaded",localPlayer) end) Server: addEvent("onResourceLoaded",true) addEventHandler("onResourceLoaded",root,etc)
  14. ok, try this: function givebike( player ) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Vip" ) ) then local x,y,z= getElementPosition(player) veh = createVehicle(509, x+1, y, z) warpPedIntoVehicle(player, veh) addEventHandler('onVehicleExit',veh,function() setTimer(destroyElement,5000,1,veh) end) end end addCommandHandler("bikevip",givebike)
  15. Well, anything's possible
  16. so, you want to destroy the vehicle after the player leaves the vehicle?
  17. Sorry, but you can't' block any players from recording your server... What you could do, is put a logo on the screen so everyone would know it's your server, and probably make a rule/announcement with your server saying 'Any videos recorded on this server must link to our site/server!' or SOMETHING, but we can't stop players/users from recording anything on GTA period.
  18. So you can't open/save maps then... Can you please run this MTADiag and post the generated url here please.
  19. you forgot a ')' (bracket) on line 4.
  20. try this: theWindow = guiCreateWindow(420, 210, 433, 320, "Jetpack giver By Robbster", false) guiWindowSetSizable(theWindow, false) theButton = guiCreateButton(122, 123, 188, 87, "Give yourself Jetpack", false, theWindow) guiSetVisible(theWindow,false) function openWin() guiSetVisible(theWindow,not guiGetVisible(theWindow)) showCursor(guiGetVisible(theWindow)) end bindKey("F5", "down", openWin) addEventHandler ( "onClientGUIClick", theButton,function giveJetpack() triggerServerEvent ( givejet, localPlayer ) --try root or source if no work end) addEvent( "givejet", true ) addEventHandler( "givejet", root,function Jetpackgiver() source = source or client givePedJetPack ( source) end) and try to add the eventHandlers after the function you want it to trigger.
  21. Can you take a screenshot and post it here.
  22. ok, just making sure, because the webmap and webstats should be working... just restart your server and try again.
  23. Did you edited that while your server was running?
×
×
  • Create New...