Jump to content

smw94

Members
  • Posts

    26
  • Joined

  • Last visited

smw94's Achievements

Advanced Member

Advanced Member (8/54)

0

Reputation

  1. change getRootElement() to player element you want to display
  2. smw94

    Help MTA Browser

    it's exactly what i wanted, thanks for the suggestion, and it now working
  3. smw94

    Help MTA Browser

    how you use that ? i use this, and still not working function onCursorMove ( relativeX , relativeY , absoluteX , absoluteY ) if webAppsWdw then injectBrowserMouseMove ( webAppsWdw , absoluteX , absoluteY ) end end addEventHandler ( "onClientCursorMove" , root , onCursorMove )
  4. smw94

    Online GUI-Editor

    hi, i can support providing web server for this, contact me if you are interested
  5. smw94

    Help MTA Browser

    problem is not solved yet, any help ?
  6. smw94

    Help MTA Browser

    still doesnt work, when i click the videos, it wont play .. but if i set the browser property non mobile, when i click the videos, it play ..
  7. smw94

    Help MTA Browser

    hmm, no i dont, if i load youtube as a normal browser, without mobile property enabled i can play the videos normally ..
  8. i have a problem, i created a browser, that load youtube, i set the browser property, "mobile" into "1" (enabled) but i cant play youtube videos, if i disabled mobile property, i can play videos, any help ? thanks here's some my code: theBrowser = guiCreateBrowser(24, 80, sizeX, sizeY, false, false, false, wPhoneMenu) setBrowserProperty(guiGetBrowser(theBrowser),"mobile","1")
  9. smw94

    solid water

    thank you man) you're welcome ~
  10. that error and warning message, how u do that ? displaying in game
  11. smw94

    solid water

    viewtopic.php?f=91&t=69189
  12. its not working, its working perfectly on localplayer, but not on remote player, any idea how to sync this ?
  13. can anyone help with sync ing setPedLookAt ? this is my code, other player always look to the north, while local player work perfectly, thanks before client side local sx, sy = guiGetScreenSize () -- addEventHandler("onClientPreRender", getRootElement(), -- function() function rotateOwnHead() -- body if getElementHealth(localPlayer) >= 1 then local lx, ly, lz = getWorldFromScreenPosition ( sx/2, sy/2, 10 ) triggerLatentServerEvent("moveHeadSync",1000,true,localPlayer,lx,ly,lz) end end addEventHandler("onClientResourceStart",root, function () setTimer(rotateOwnHead, 200, 0 ) end) -- end) function rotateHead(x,y,z) setPedAimTarget(source, x,y,z) setPedLookAt(source, x,y,z, -1, 0) end addEvent("rotateHead",true) addEventHandler("rotateHead",getRootElement(),rotateHead) server side function moveHeadSync(x,y,z) -- outputDebugString(tostring(getPlayerName(source)..": X : "..x)) triggerLatentClientEvent(root, "rotateHead",1000,true, source,x,y,z) end addEvent("moveHeadSync",true) addEventHandler("moveHeadSync",getRootElement(),moveHeadSync)
  14. i'm not sure seasparrow minigun is triggering onClientPlayerHitByWaterCanon, i've try, and it doesnt work, its triggered by fire truck or SWAT van water canon, anything to try ?
×
×
  • Create New...