Jump to content

Luke_Ferrara

Members
  • Posts

    88
  • Joined

  • Last visited

Everything posted by Luke_Ferrara

  1. okay now it is working however I want it to follow a path so i created a midpoint where one object would pick up where the other one left off..how would I do this?
  2. it doesn't work I still don't firmly understand, I know that setCameraMatrix sets the camera and it's suppose to set it to the object and move the object but the code doesn't move the camera back it just sits there...heres my code function setCameraOnPlayerJoin() local obj1 = createObject(1337, 805.09777832031, -2780.2409667969, 9.3761787414551) setElementAlpha(obj1,0) local obj2 = createObject(1337, 821.29284667969, -2780.1831054688, 9.3761787414551) setElementAlpha(obj2,0) moveObject(obj1,30000,821.29284667969, -2780.1831054688, 9.3761787414551) moveObject(obj2,30000,821.45483398438, -2786.248046875, 11.3835067749023) fadeCamera(source, true, 5) local cx,cy,cz = getElementPosition(obj1) local tx,ty,tz = getElementPosition(obj2) setCameraMatrix(source, cx,cy,cz,tx,ty,tz) end addEventHandler("onPlayerLogin",getRootElement(), setCameraOnPlayerJoin)
  3. could I have an example on how that would work?
  4. how can a script the camera so it will back up take a 90 degree turn go forward and get an aerial view of an object?
  5. Okay, I see how that works however what about the mirror? Any mirrors I script become see through and looks like a glassless window which kind of eliminates the point
  6. Ohhh I see, but how would you be able to get the lookat coordinates without guessing? Like how you can use resources in the community or even the admin panel to get your xyz coordinates but never the lookat coords.
  7. From Wiki: function setCameraOnPlayerJoin() -- slowly fade the camera in to make the screen visible fadeCamera(source, true, 5) setCameraInterior ( source, 18) -- set the player's camera to a fixed position, looking at a fixed point setCameraMatrix(source, 181.07878112793, -88.078994750977, 1002.0307006836, 14698.388671875, -918.42474365234, 99.8818130493) end addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) I am trying to set the camera towards a mirror in ZIP, however I do not understand "lookAT" x, y and z, I tried creating an interior on interior ID 0 but the mirror becomes a window to see through...Could someone give me some guidance with camera functions...wiki doesn't explain enough
  8. i disallowed /login /logout, and /register and they still arnt blocked
  9. How would I go about blocking original commands?
  10. I keep getting 'ERROR: call: failed to call 'scoreboard:scoreboardAddColumn any ideas?
  11. how can you replace commands like /report and get rid of /login /logout and start custom commands to start OnResourseStart
  12. Very nice work! a few bugs like the shops but other than that the moderator panel is amazing great work hope to see the finished product!! I am going to edit this to make it even more improved I will keep in touch cannon
  13. No it's correct, I have already started lol with custom login/ register screen and I am currently beginning on scripting professions and lmao @ the vid and yes it is the best but imagine a server like that without the ridiculous rules...not saying it wouldn't have rules but you can not deny that Valhalla's rules are over the top
  14. okay look we all here know and love MTA and rpgs (well most of us) however when we think of role play when it comes to MTA which server comes to mind? Valhalla, now look I have played the server and I played for months and I have to say it is ridiculous, nothing more than a well-developed script and a group of control freaks which to me is a complete let down. For example you must take a test just to enter the server and you must follow their rules which are overly strict or else you will be banned. Not only does it eliminate over half the role player opportunities players would enjoy doing but it punishes you for creativity. Now my suggestion is for script writers like 50p (which I know you do not find rpg scripts/game modes interesting), SkunkPops, lil_Toady, DakiLLa or anybody including myself who knows .lua to merge and create a very nice well developed script. It will benefit the community, the players, and overall mta game play experience. -Players who would like to see a community friendly rpg post your thoughts. -Script-Writers post your ideas if your interested and PM me your msn, aim, ect. Together we can make it possible to create a server that is enjoyable for all. I am asking all of you here at the mta community, let's take back mta roleplay!
  15. cant wait for what? he says hes not continuing....this is it
  16. yeah, that's what I got I couldn't open the user panel or anything....maybe a bug or a quick fix?
  17. thanks 50p i appreciate it thats the answer I was looking for
  18. Do I need webhosting to set up MySQL for MTA? Or is there an alternative because I have a computer I use as my dedicated server is there anyway I can make a MySQL on my computer like without cPanel and such and could I possibly have a link for setting up I have been searching google for days thanks again guys
  19. I have downloaded MySQL for my Windows operating system as well as Alberto Alonso 's MySQL model and placed the files in the appropriate directories however when I start my MTA Server when I enter the game I get an error reading " ERROR: Could not connect to MySQL server". What can I do to correctly connect with my MySQL or hook it up?? I really appreciate any help guys I am a noob when it comes to MySQL. Thanks Everyone
  20. is there anyway to disable players from using /register, /login and /logout, I ask because i have a gui window that registers and logs players in but what i found my players have been doing is /logout out with $50000 and /register with new account and then wire transfer that $50000 to their main account so is there anyway to disbable these commands??
  21. This sounds like a pretty good idea, after all the reason why SA-MP is more popular than MTA because SA-MP has so many "for dummy" tutorials to walk you through everything and if MTA had stuff like that it would be 100 times better than SA-MP I mean the gameplay in MTA is better all around. I would take the time but I don't know much about SQL, sorry
  22. okay thanks 50 Ill start trying to debug
  23. function onPlayerQuit ( ) local playeraccount = getPlayerAccount ( source ) if isGuestAccount ( playeraccount ) then outputConsole ( "For full features you must register!", playerSource ) else local playerskin = getElementModel ( source ) setAccountData ( playeraccount, "skin", playerskin ) end end function onPlayerLogin ( ) local playeraccount = getPlayerAccount ( source ) if isGuestAccount ( playeraccount ) then outputConsole ("Register", playersource) else local playerskin = getAccountData ( playeraccount, "skin" ) setPedSkin ( source, playerskin ) end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin ) okay now it saves the skin but doesn't call it when player logs in, I have it check for guest account idk whats going wronge
  24. BUMP I know this is old haha but I would like to know if anyone found a solution
×
×
  • Create New...