Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. Jaysds1

    Problems

    This is the error that is shown when a person enters a vehicle: i changed the script a little, here: addEventHandler("onVehicleEnter", getRootElement(), function(player) turnLeft(player, "vehicle_left") turnRight(player, "vehicle_right") end) function turnLeft(player, key) local vehicle = getPedOccupiedVehicle(player) if (getControlState(player, key)) then setVehicleLightState(vehicle, 1,1) setVehicleLightState(vehicle, 3,1) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,1000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,1000,0) else setVehicleOverrideLights(vehicle,0) setVehicleLightState(vehicle,1,0) setVehicleLightState(vehicle,3,0) end end function turnRight(player, key) local vehicle = getPedOccupiedVehicle(player) if (getControlState(player, key)) then setVehicleLightState(vehicle, 0,1) setVehicleLightState(vehicle, 2,1) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 1) end,5000,0) setTimer(function() setVehicleOverrideLights(vehicle, 2) end,5000,0) else setVehicleOverrideLights(vehicle,0) setVehicleLightState(vehicle,0,0) setVehicleLightState(vehicle,2,0) end end I sort of copied what wiki showed.
  2. Here's how it looks now: and inside
  3. After uninstalling everything, I tried creating the resource folder but the error still continues... I'm thinking if it's a bug.
  4. Jaysds1

    Port host error

    Do u have a modem or a router? If yes then follow these steps: https://forum.multitheftauto.com/viewtopic.php?f=114&t=33722
  5. Jaysds1

    Problems

    Hello again, I have this problem with a script I'm working on... When the player enters the vehicle and turns left or right, the left or right blinker/light is suppose to blink, Here's my script: addEventHandler("onVehicleEnter", getRootElement(), function(player) local vehicle = getPedOccupiedVehicle(player) if getControlState(player, vehicle_left) then setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) else setVehicleOverrideLights(vehicle,0) end if getControlState(player, vehicle_right) then setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) setVehicleOverrideLights(vehicle, 1) setVehicleOverrideLights(vehicle, 2) else setVehicleOverrideLights(vehicle,0) end end) and thanks for help...
  6. I uninstalled the whole thing and deleted the resource, but the problem still continues... Thanks for replying...
  7. When I finished downloading and unpacking the resource .zip file I put the resource as listed in the Directory layout readme file... but When the server starts this is what it says: Here's a screenshot of how it looks:
  8. here's the new category for Changes in 1.1 EDIT: Your actually right... I shouldn't have posted this then.
  9. Jaysds1

    Problems

    ok, thanks, I see the bug now...
  10. Jaysds1

    Problems

    thanks again Castillo, I wish I could be like u...
  11. Jaysds1

    Problems

    Hi again, I want to know if this code respawns all vehicles addCommandHandler("rav", function() outputChatBox("RESPAWNING ALL UNOCCUPIED VEHICLES IN 30Secs") local vehicles = getElementsByType ( "vehicle" ) -- Return all the vehicles in a table for k, vehicle in ipairs ( vehicles ) do -- For every vehicle do the following... if (getVehicleOccupants(vehicle) == false) then resetVehicleIdleTime ( vehicle ) -- Reset the vehicle's idle time setTimer(function() respawnVehicle(vehicle) end,30000,0) end end end) Thanks for checking it...
  12. Jaysds1

    Port Problems

    So, one of your computers are connected through a Ethernet and the other is connected through a wireless router?
  13. Thanks, and there's lot's of added stuff... DAMN, Nice.
  14. Ya, I know, Sorry for making this topic anyways.
  15. THAT WAS NICE!!!!, I can't wait until it comes out.
  16. It takes patients to learn something... I learned by watching scripts from other resources and looking in wiki, and look How I turned out... Annoying, still asking for help, don't know what I'm really doing... so, if I was you, I would listen to Castillo.
  17. Jaysds1

    Help

    There's no way. Client side scripts are for the client to get...but you could compile it so that the players can't steal it(here) and Server side scripts are for the server.
  18. There's no such thing, you could make a gui window login/register. Every login/register gui is the same, all you have to do is put your own pictures, and stuff.
  19. TOPIC IS NOW CLOSED/LOCKED.
  20. How did you got the video in hd, I was trying to start the MTA 1.1 with my fraps and it keeps shutting down.
  21. You forgot to add the Default acl: <acl name="Default"> <right name="general.ModifyOtherObjects" access="false" /> <right name="general.http" access="false" /> <right name="command.start" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.gamemode" access="false" /> <right name="command.changemode" access="false" /> <right name="command.changemap" access="false" /> <right name="command.stopmode" access="false" /> <right name="command.stopmap" access="false" /> <right name="command.skipmap" access="false" /> <right name="command.restart" access="false" /> <right name="command.refresh" access="false" /> <right name="command.refreshall" access="false" /> <right name="command.addaccount" access="false" /> <right name="command.delaccount" access="false" /> <right name="command.debugscript" access="false" /> <right name="command.chgpass" access="false" /> <right name="command.loadmodule" access="false" /> <right name="command.upgrade" access="false" /> <right name="command.mute" access="false" /> <right name="command.crun" access="false" /> <right name="command.srun" access="false" /> <right name="command.run" access="false" /> <right name="command.unmute" access="false" /> <right name="command.kick" access="false" /> <right name="command.ban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.shutdown" access="false" /> <right name="command.install" access="false" /> <right name="command.aexec" access="false" /> <right name="command.whois" access="false" /> <right name="command.whowas" access="false" /> <right name="function.executeCommandHandler" access="false" /> <right name="function.setPlayerMuted" access="false" /> <right name="function.addAccount" access="false" /> <right name="function.addBan" access="false" /> <right name="function.removeBan" access="false" /> <right name="function.removeAccount" access="false" /> <right name="function.setAccountPassword" access="false" /> <right name="function.kickPlayer" access="false" /> <right name="function.banIP" access="false" /> <right name="function.banPlayer" access="false" /> <right name="function.banSerial" access="false" /> <right name="function.getBansXML" access="false" /> <right name="function.unbanIP" access="false" /> <right name="function.unbanSerial" access="false" /> <right name="function.getClientIP" access="false" /> <right name="function.setServerPassword" access="false" /> <right name="function.getServerPassword" access="false" /> <right name="function.callRemote" access="false" /> <right name="function.startResource" access="false" /> <right name="function.stopResource" access="false" /> <right name="function.restartResource" access="false" /> <right name="function.createResource" access="false" /> <right name="function.copyResource" access="false" /> <right name="function.addResourceMap" access="false" /> <right name="function.addResourceConfig" access="false" /> <right name="function.removeResourceFile" access="false" /> <right name="function.setResourceDefaultSetting" access="false" /> <right name="function.removeResourceDefaultSetting" access="false" /> <right name="function.redirectPlayer" access="false" /> <right name="function.aclReload" access="false" /> <right name="function.aclSave" access="false" /> <right name="function.aclCreate" access="false" /> <right name="function.aclDestroy" access="false" /> <right name="function.aclSetRight" access="false" /> <right name="function.aclRemoveRight" access="false" /> <right name="function.aclCreateGroup" access="false" /> <right name="function.aclDestroyGroup" access="false" /> <right name="function.aclGroupAddACL" access="false" /> <right name="function.aclGroupRemoveACL" access="false" /> <right name="function.aclGroupAddObject" access="false" /> <right name="function.aclGroupRemoveObject" access="false" /> <right name="general.adminpanel" access="false" /> <right name="general.tab_players" access="false" /> <right name="general.tab_resources" access="false" /> <right name="general.tab_server" access="false" /> <right name="general.tab_bans" access="false" /> <right name="general.tab_adminchat" access="false" /> <right name="command.freeze" access="false" /> <right name="command.shout" access="false" /> <right name="command.spectate" access="false" /> <right name="command.slap" access="false" /> <right name="command.setgroup" access="false" /> <right name="command.sethealth" access="false" /> <right name="command.setarmour" access="false" /> <right name="command.setmoney" access="false" /> <right name="command.setskin" access="false" /> <right name="command.setteam" access="false" /> <right name="command.giveweapon" access="false" /> <right name="command.setstat" access="false" /> <right name="command.jetpack" access="false" /> <right name="command.warp" access="false" /> <right name="command.setdimension" access="false" /> <right name="command.setinterior" access="false" /> <right name="command.givevehicle" access="false" /> <right name="command.repair" access="false" /> <right name="command.blow" access="false" /> <right name="command.destroy" access="false" /> <right name="command.customize" access="false" /> <right name="command.setcolor" access="false" /> <right name="command.setpaintjob" access="false" /> <right name="command.listmessages" access="false" /> <right name="command.readmessage" access="false" /> <right name="command.listresources" access="false" /> <right name="command.execute" access="false" /> <right name="command.setpassword" access="false" /> <right name="command.setwelcome" access="false" /> <right name="command.setgame" access="false" /> <right name="command.setmap" access="false" /> <right name="command.setweather" access="false" /> <right name="command.blendweather" access="false" /> <right name="command.setblurlevel" access="false" /> <right name="command.setwaveheight" access="false" /> <right name="command.setskygradient" access="false" /> <right name="command.setgamespeed" access="false" /> <right name="command.setgravity" access="false" /> <right name="command.settime" access="false" /> <right name="command.unban" access="false" /> <right name="command.banserial" access="false" /> <right name="command.unbanserial" access="false" /> <right name="command.listbans" access="false" /> </acl>
  22. What's the ucp resource?
  23. Version = 1.1-untested-2935.0.000 Time = Wed Aug 03 19:15:06 2011 Module = C:\Program Files\MTA San Andreas 1.1\mta\cgui.dll Code = 0xC0000005 Offset = 0x000B1EDC EAX=08FD748C EBX=03F61208 ECX=03FEFBB0 EDX=0F540284 ESI=09426ED0 EDI=015A56A0 EBP=03A6A1B0 ESP=0022FB50 EIP=03E11EDC FLG=00010202 CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000 I was at the main menu then it just shutdown.
×
×
  • Create New...