Jump to content

denny199

Members
  • Posts

    877
  • Joined

  • Last visited

Everything posted by denny199

  1. Yes, setPlayerTeam ( playerelement, nil )
  2. executeCommandHandler("pnfnsdhasd3w7432jhdsbw3ersdncsdir",thePlayer,mapName) isn't executed. because it isn't existing.
  3. denny199

    Crosshair

    Maybe it is, but the crosshair is not in the middle of the screen.
  4. denny199

    Andro script.

    There are some mods out there which have an interieur, or just use KWKSND's flyable cargo. http://www.kwksrv-mta.info/KWKSNDsTSR.html
  5. denny199

    Image Anim

    Ever heard of /debugscript 3?
  6. Everything is running, mapmanager, etc. Does it even show in the admin panel? is /debugscript 3 saying anything?
  7. denny199

    Crosshair

    Use shaders. the crosshair needs to be 1/4 off the whole crosshair evrything:
  8. denny199

    Image Anim

    Yeah, I totally understand this: [sarcasme on] function HandleTheRendering ( ) addEventHandler("onClientRender", getRootElement(), renderDisplay) -- Keep everything visible with onClientRender. end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering) end
  9. ehm, local account = getAccount(user, pass) if account then elseif account then addAccount(user, pass) that's the same and I don't see the event's of triggering the event; 'login' you should recode the server side code.
  10. ... it's easier to change your'e spawn script. syntax spawnplayer: spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) as you can see it's supported skinID changing, so change the skinID to math.random (7,288)
  11. "We are looking for a good scripter, the scripter will get 50% of donations in MTA." What if there aren't donations ?
  12. A; What a silly question, how can a dead person answer that, so NO. Q;Oldschool [<3] race or the new DM:~
  13. You need to calculate the radar first. because it's a circle
  14. WolfieNL: o o o o gangnamstyle Today at 10:54:01 AM [DenR]Danny: OPPA GANGNAM STYLE IN MTA Today at 10:36:12 AM [DenR]Danny: oppa gangnam style Today at 10:36:07 AM [DenR]Anon: eeey sexy ladyyyy October 06, 2012, 10:22:34 PM
  15. Gheh gheh, I ment edited ;p But I see what you did there thanks
  16. A: Whats the difference? Q:What do chickens think how we are tasting
  17. Hey there. I've got a question about rotations because I don't know where to start. I've edited a fly script, but now I want to set the players rotation on the camera target. But I don't know where to start, and I don't know if it's posible. My local script: function putPlayerInPosition(timeslice) local cx,cy,cz,ctx,cty,ctz = getCameraMatrix() ctx,cty = ctx-cx,cty-cy timeslice = timeslice*0.1 if getKeyState("]") then timeslice = timeslice*4 end if getKeyState("[") then timeslice = timeslice*0.25 end local mult = timeslice/math.sqrt(ctx*ctx+cty*cty) ctx,cty = ctx*mult,cty*mult if getKeyState("w") then abx,aby = abx+ctx,aby+cty end if getKeyState("s") then abx,aby = abx-ctx,aby-cty end if getKeyState("d") then abx,aby = abx+cty,aby-ctx end if getKeyState("a") then abx,aby = abx-cty,aby+ctx end if getKeyState("space") then abz = abz+timeslice end if getKeyState("lshift") then abz = abz-timeslice end setElementPosition(localPlayer,abx,aby,abz) end function toggleAirBrake() air_brake = not air_brake or nil if air_brake then abx,aby,abz = getElementPosition(localPlayer) addEventHandler("onClientPreRender",root,putPlayerInPosition) else abx,aby,abz = nil removeEventHandler("onClientPreRender",root,putPlayerInPosition) end end bindKey("num_0","down",toggleAirBrake) Regards Danny
  18. Because it's wrong. Please, check the wiki again. And test self-made scripts self, don't ask to us.
  19. Around The World Kasparov
  20. A: the Netherlands. [ doh, own langaunge ] Q: Death Race gamemode or Black Ops zombie gamemode?
  21. Legion Of The Lost - Malefaction
×
×
  • Create New...