Jump to content

Deagle

Members
  • Posts

    394
  • Joined

  • Last visited

Everything posted by Deagle

  1. Thanks Aibo, you could say only that I have to leave this part : if shader then Oh, I forgot to say that I am using this in the race mode. Maybe that's why you wrote me the entire script. Now the script is working and it's way more shorter : addEventHandler( "onClientResourceStart", resourceRoot, function() local shader, tec = dxCreateShader ( "uv_scroll.fx" ) if shader then engineApplyShaderToWorldTexture ( shader, "bobo_2" ) end end )
  2. I want to delete this too, because I dont need the text in the chat. But when I delete it, the script it's not working : if not shader then outputChatBox( "Could not create shader. Please use debugscript 3" ) else outputChatBox( "Using technique " .. tec )
  3. Hey, I want to use this script in a map. -- -- c_uv_scroll.lua -- addEventHandler( "onClientResourceStart", resourceRoot, function() -- Version check if getVersion ().sortable < "1.1.0" then outputChatBox( "Resource is not compatible with this client." ) return end -- Create shader local shader, tec = dxCreateShader ( "uv_scroll.fx" ) if not shader then outputChatBox( "Could not create shader. Please use debugscript 3" ) else outputChatBox( "Using technique " .. tec ) -- Apply to world texture engineApplyShaderToWorldTexture ( shader, "bobo_2" ) -- Create object with model 4729 (billboard) local x,y,z = getElementPosition( getLocalPlayer() ) createObject ( 4729, x-15, y, z+3 ) end end ) I mean, I used it already and it's working, but I want to make it shorter, by deleting this part, because I dont need outputChatBox : if not shader then outputChatBox( "Could not create shader. Please use debugscript 3" ) else outputChatBox( "Using technique " .. tec ) But when I delete it, the script is not working. I tried to delete the "tec" from here : local shader, tec = dxCreateShader ( "uv_scroll.fx" ) local shader, dxCreateShader ( "uv_scroll.fx" ) This is my shorter script which is working : function() local shader, tec = dxCreateShader ( "uv_scroll.fx" ) if not shader then outputChatBox( "Could not create shader. Please use debugscript 3" ) else outputChatBox( "Using technique " .. tec ) engineApplyShaderToWorldTexture ( shader, "bobo_2" ) end end )
  4. Deagle

    Race pickups BUG(

    You need to click once on the pickup, then press F3.
  5. This is the only thing that I'm saying : "Sun Nov 14, 2010 1:24 pm"
  6. Old car mod - https://community.multitheftauto.com/index.php?p= ... ls&id=2944
  7. Ehm, what do you mean by that ?
  8. Benx, it's only a script, but I don't understand what can I do with it. It's something for the police car ( ID 596 ), but I don't see any difference after starting the script. function police ( source, commandName ) local x, y, z = getElementPosition ( source ) local car1 = createVehicle ( 596, x +2, y +1 , z + 1) aa = createObject (1182, 0, 09 , 0) attachElements(aa, car1,-0.90000009536743,2.4999997615814,-0.19999998807907) KrSoFA2 = createObject (1177, 2484.3186035156, -2636.4465332031 , 12.925254821777 , 359.6923828125 , 0.2197265625, 359.48913574219) attachElements(KrSoFA2, car1,-0.90000009536743,-2.7999994754791,-0.29999998211861,0,0,0 ) KrSoFA3 = createObject (1176, 2484.3571777344, -2636.2561035156 , 12.924493789673 , 359.6923828125 , 0.24169921875, 359.91760253906) attachElements(KrSoFA3, car1,-0.90000009536743,-2.7999994754791,-0.29999998211861,0,0,0 ) KrSoFA4 = createObject (1175, 2484.36328125, -2630.7268066406 , 12.953876495361 , 359.6923828125 , 0.252685546875, 0.208740234375) attachElements(KrSoFA4, car1,-0.90000009536743,2.599999666214,-0.29999998211861,0,0,0 ) -- KrSoFA5 = createObject (1113, 2485.1193847656, -2623.4711914063 , 12.826528549194 , 359.6484375 , 0.230712890625, 0.3021240234375) -- attachElements(KrSoFA5, car1,-0.10000000149012,-2.3999998569489,-0.39999997615814,0,0,0 ) KrSoFA6 = createObject (1110, 1602.1470947266, -1621.3095703125 , 12.841807365417 , 359.06066894531 , 0.02197265625, 92.28515625) attachElements(KrSoFA6, car1,1.4901161415892e-009,-2.4999997615814,-0.29999998211861,0,0,0 ) KrSoFA7 = createObject (1111, 1597.0148925781, -1621.4914550781 , 13.318598747253 , 359.06066894531 , 0.0274658203125, 92.735595703125) attachElements(KrSoFA7, car1,0,2.3999998569489,0.10000001639128,0,0,0 ) end addCommandHandler ( "car", police )
  9. Deagle

    Runtime Error

    It's happening to random MTA players since today. I guess it's a bug from MTA itself. viewtopic.php?f=104&t=37128 viewtopic.php?f=105&t=36234
  10. Car mod again https://community.multitheftauto.com/index.php?p= ... ls&id=3211
  11. Car mod : https://community.multitheftauto.com/index.php?p= ... ls&id=3203
  12. You can find it here - viewtopic.php?f=108&t=34878
  13. Car mod - https://community.multitheftauto.com/index.php?p= ... ls&id=3147
  14. The photo has been removed. And anyway, reinstall GTA SA.
  15. regsvr32 C:\Windows\System32\d3dx9_26.dll
  16. Deagle

    maps

    You put them in : MTA San Andreas 1.1/server/mods/deathmatch/resources/[gamemodes]/[race]/[maps]
×
×
  • Create New...