Jump to content

denny199

Members
  • Posts

    877
  • Joined

  • Last visited

Everything posted by denny199

  1. A:You don't know how this game works... Q: Herp derp herper die derp?
  2. En dit is dusver een bump van één maand
  3. Shader way: .FX file: texture gTexture; technique TexReplace { pass P0 { Texture[0] = gTexture; } } Lua import: texture1 = dxCreateTexture ("images/wall1.png") texture2 = dxCreateTexture ("images/wall2.png") shader1 = dxCreateShader ( "shader.fx" ) shader2 = dxCreateShader ( "shader.fx" ) dxSetShaderValue ( shader1, "gTexture", texture1 ) dxSetShaderValue ( shader2, "gTexture", texture2 ) engineApplyShaderToWorldTexture ( shader1, "texturename", theCreatedObjectElement) engineApplyShaderToWorldTexture ( shader2, "texturename", theCreatedObjectElement) To find out the "texturename", you can use https://wiki.multitheftauto.com/wiki/Sha ... ture_names For theCreatedObjectElement you can use therefor the created object ofcourse, so it won't apply on all houses in the world. Regards, Danny
  4. Yeah, it's my face when I'm smelling you
  5. I was just kidding arround, I'm more interested in how much players will join the offical sims server(if there will be one), and the meeting system, also the building system would be nice, or even would it be a normal sims, where you gonna meet other people, or is it just random trollers in a game where everyone is a criminal, robbing houses, or is it more building and playing with yourself arround with your own social life like sims.
  6. Don't fuck this topic up, Jaysds1, you want to troll people with deleting the second image. I know what you was thinking
  7. use : "setElementInterior ( hitElement, 903, 423, 247, 40 )" Edited my previous post.
  8. Sadly, sims covered al the sex scenes, like they will go underneath the water etc, so you can't see anything, but who cares, this is mta.
  9. Anyway good job and good luck That doesn't matter, I was horny too on the age of 15.... (to much information) Sims, It looks epic man,
  10. Debug the script, chek what email returns, and the email:match
  11. This should do it, also what are you tryng to do with "setElementInterior ( 903, 423, 247, 40 )" LMNBfirstMarker = createMarker ( -35, 14, 121.5, "arrow", 1.5, 250, 0, 250, 255 ) setElementInterior ( LMNBfirstMarker, 900 ) function LMNBfirstTP ( hitElement, matchingDimension ) -- the function if ( getElementType(hitElement) == "player" ) then -- if the hitted elemnt is a player setPlayerNametagShowing ( hitElement, false ) -- hide the nametag setElementInterior (hitElement, 903, 423, 247, 40 ) -- plox, your interior added for ElementKey, ElementValue in ipairs ( getAttachedElements (hitElement) ) do -- loop trough the attachElements which are attached on the player if ( getElementType ( ElementValue ) == "blip" ) then -- if it found a blip element then destroyElement ( ElementValue ) -- destroy the element end end end end addEventHandler ( "onMarkerHit", LMNBfirstMarker, LMNBfirstTP ) --changed from ""onPlayerMarkerHit", getRootElement()" to "onMarkerHit, LMNBfirstMarker", because it will trigger for all markers when you will use root, and the onPlayerMarkerHit is an old event
  12. The first parameter of addCommandHandler is "commandname" for the client side and "playersource" for server side, so use for server side in your function: validateEmail(_,_,email) and for the client: validateEmail(_,email)
  13. No problem, feel free to ask more if you don't get out of your script codes.
  14. Server side: addCommandHandler ( "snw", function() -- adding a command handler on the server side triggerClientEvent ( "onSound", root) -- triggering to client side for all players (root) with the eventname "onSound" end)-- and end ofc, with ) [for closing the function] Client side: addEvent ( "onSound", true ) -- adding the event addEventHandler ( "onSound", root, -- making the event handler function() -- the fuction sound = playSound( "snw.mp3", true ) -- the sound makeTrain() -- this will execute the makeTrain() function end) -- the end function makeTrain() -- your stuff outputChatBox ( "ALERT!", 255, 0, 0) outputChatBox ( "ALERT!", 255, 0, 0) outputChatBox ( "ALERT!", 255, 0, 0) outputChatBox ( "ALERT!", 255, 0, 0) outputChatBox ( "System is under Attack!", 255, 0, 0) outputChatBox ( "Starting Protocol 1541-56-a", 255, 100, 250) outputChatBox ( "Recovery in 30 secs...", 0, 255, 0) outputChatBox ( "Emergency Shut Down...", 255, 255, 255) outputChatBox ( "SERVER REBOOT IN in 30 secs...", 0, 255, 0) outputChatBox ( "HOLD OOOOOOOOOOON!", 0, 255, 0) end
  15. "triggerServerEvent" doesn't make any sence, he wants to play a sound for everyone, so triggerClientEvent is only needed.
  16. Thats because targetElem isn't a element. also: So: platformKillerofNoobObject = createObject ( 8661, -15, 95, 100 ) setElementInterior ( platformKillerofNoobObject, 901 ) function platformKillerofNoob (prev, current) if current == platformKillerofNoobObject then killPed (source) end end addEventHandler ( "onPlayerContact", getRootElement(), platformKillerofNoob )
  17. Says everything. The code is somewhere in race/racevoting_server.lua Search for it.
  18. Use https://wiki.multitheftauto.com/wiki/OnPlayerContact
  19. Why not use interpolateBetween with tables and one "onClientRender" with a loop trough the table to show all costum windows?
  20. https://wiki.multitheftauto.com/wiki/OnClientPedDamage function cancelPedDamage ( attacker ) cancelEvent() -- cancel any damage done to peds end addEventHandler ( "onClientPedDamage", getRootElement(), cancelPedDamage ) (© wiki ) edit: If you only want it for one ped use: addEventHandler ( "onClientPedDamage", getRootElement(), function ( attacker ) if source == pedElement then cancelEvent() end end)
  21. denny199

    Problem

    Change the playSound("song.mp3", true) to playSound("song.mp3", false) Because the "true" argument of playSound is for repeating.
  22. Change the timer. 120000 == 2 mins the 0 = for repeating setTimer (max, 120000,0)
×
×
  • Create New...