Jump to content

Lloyd Logan

Members
  • Posts

    642
  • Joined

  • Last visited

Everything posted by Lloyd Logan

  1. Well Anderl, I think i know what you mean. My old computer had 12gb RAM, and it was decent! With my new computer I have a SSD, and if you read good comments on it, I agree! Its unbelievable, and if you boot up your computer from the SSD, it is so fast you'd think you had put it to sleep before you left! In my opinion if you have "Decent" RAM, get a SSD! Just my opinion! -Lloyd
  2. Thanks guys, I managed to fix it myself as the argument was wrong client side!
  3. Hey, why isn't this setting the camera on the player? --CLIENT function showGUIf() guiSetVisible(GUIEditor.window[1], false) guiSetVisible(btn1, false) showCursor(false) triggerServerEvent("setT", getLocalPlayer()) end addEvent("stopj", true) addEventHandler("stopj", root, showGUIf) --SERVER function setTT(thePlayer) setElementPosition(thePlayer, 375.8310546875, -65.7509765625, 1001.507812) setCameraTarget(thePlayer) end addEvent("setT", true) addEventHandler("setT", getRootElement(), setTT)
  4. Type in; loadmodule mta_mysql or loadmodule mta_mysql.dll The modules shouldn't be in that folder, C:\Program Files (x86)\MTA San Andreas 1.3\server they should be in your server folder! If that doesn't work put them in a folder called modules in your server file! skype : lloydlogan11
  5. Thanks Castillo! I had to +90 on the rotation! -Lloyd
  6. Sorry for my ignorance, but the player is now going in a different direction between the two markers?
  7. What do you mean, is that what i have done in the OP?
  8. Castillo was right, I need to use findRotation, because i have to find the rotation between to markers! Any suggestions?
  9. That was mental Castillo that told me that! =D
  10. Hey, the errors of this code are; Attemp to call global findRotation 'a nil value'? local xa, ya, za = getElementPosition(marker1) local xb, yb, zb = getElementPosition(marker2) function walking(walking) setElementRotation(johnny, findRotation(xa, ya, xb, ya)) setPedAnimation( johnny, "ped", "WOMAN_walknorm") end
  11. It works if you highlight minimum 2 lines. What does Shift + Tab do 50p? -Lloyd
  12. I tried this but nothing function walking(walking) setPedAnimation( johnny, "ped", "WOMAN_walknorm") end bindKey ( player, "u", "down", walking ) johnny = createPed( 79, 366.4220, -73.4700, 1001.5080 )
  13. Doesn't work either, player kind of jitters but nothing. Nothing in Debug Script 3 either.
  14. Help? Nothing happens, i am new to set ped control state, i want the ped to crouch when the F4 button is pressed? function funcInput ( key, keyState ) setPedControlState ( johnny, "crouch", true ) end function bindTheKeys () bindKey ( "F4", "down", funcInput ) bindKey ( "F4", "up", funcInput ) end addEventHandler ( "onClientResourceStart", bindTheKeys )
  15. Lloyd Logan

    Guieditor output

    If you mean that you have created a GUI, then click output, generate basic lua. The GUI Code will be under your gui resource in the folder output.
  16. EDIT : I got it! Thanks Castillo
  17. Sorry, everytime the player enters the marker he is spawned in the middle of nothing? I set the position correct and set the dimension to 0, is that all i need to do? -Lloyd
  18. But on the INTERIOR ID list there is multiple interiors for 10? Just with different positions? EDIT : Nevermind I got it! Thanks for your help!
  19. So, how would i create a ped in Interior 10 (burger shot)?
  20. I'll try that then get back to you! Will the ped and marker i create be spawned in all interiors?
×
×
  • Create New...