GrubaS

Members
  • Content count

    99
  • Joined

  • Last visited

Community Reputation

1 Neutral

About GrubaS

  • Rank
    Punk-@ss B*tch

Details

  • Gang
    MAN

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. GrubaS

    [HELP]block vehicle.txd

    Hello, i already made protect for that but "xvehicleenv128" doensn't work can u tell me why? Client.lua texShader1 = dxCreateShader ( "files/vehicle.fx" ) vehicledash32 = dxCreateTexture("files/vehicledash32.png") dxSetShaderValue(texShader1,"gTexture",vehicledash32) engineApplyShaderToWorldTexture(texShader1,"vehicledash32") texShader2 = dxCreateShader ( "files/vehicle.fx" ) vehiclegeneric256 = dxCreateTexture("files/vehiclegeneric256.png") dxSetShaderValue(texShader2,"gTexture",vehiclegeneric256) engineApplyShaderToWorldTexture(texShader2,"vehiclegeneric256") texShader3 = dxCreateShader ( "files/vehicle.fx" ) vehiclegrunge256 = dxCreateTexture("files/vehiclegrunge256.png") dxSetShaderValue(texShader3,"gTexture",vehiclegrunge256) engineApplyShaderToWorldTexture(texShader3,"vehiclegrunge256") texShader4 = dxCreateShader ( "files/vehicle.fx" ) vehiclelights128 = dxCreateTexture("files/vehiclelights128.png") vehiclelightson128 = dxCreateTexture("files/vehiclelightson128.png") dxSetShaderValue(texShader4,"gTexture",vehiclelights128) engineApplyShaderToWorldTexture(texShader4,"vehiclelights128") dxSetShaderValue(texShader4,"gTexture",vehiclelightson128) engineApplyShaderToWorldTexture(texShader4,"vehiclelightson128") texShader5 = dxCreateShader ( "files/vehicle.fx" ) plateback3 = dxCreateTexture("files/plateback.png") dxSetShaderValue(texShader5,"gTexture",plateback3) engineApplyShaderToWorldTexture(texShader5,"plateback1") engineApplyShaderToWorldTexture(texShader5,"plateback2") engineApplyShaderToWorldTexture(texShader5,"plateback3") texShader6 = dxCreateShader ( "files/vehicle.fx" ) vehiclespecdot64 = dxCreateTexture("files/vehiclespecdot64.png") dxSetShaderValue(texShader6,"gTexture",vehiclespecdot64) engineApplyShaderToWorldTexture(texShader6,"vehiclespecdot64") texShader7 = dxCreateShader ( "files/vehicle.fx" ) vehiclesteering128 = dxCreateTexture("files/vehiclesteering128.png") dxSetShaderValue(texShader7,"gTexture",vehiclesteering128) engineApplyShaderToWorldTexture(texShader7,"vehiclesteering128") texShader8 = dxCreateShader ( "files/vehicle.fx" ) vehicletyres128 = dxCreateTexture("files/vehicletyres128.png") dxSetShaderValue(texShader8,"gTexture",vehicletyres128) engineApplyShaderToWorldTexture(texShader8,"vehicletyres128") texShader9 = dxCreateShader ( "files/vehicle.fx" ) vehicleshatter128 = dxCreateTexture("files/vehicleshatter128.png") dxSetShaderValue(texShader9,"gTexture",vehicleshatter128) engineApplyShaderToWorldTexture(texShader9,"vehicleshatter128") texShader10 = dxCreateShader ( "files/vehicle.fx" ) xvehicleenv128 = dxCreateTexture("files/xvehicleenv128.png") dxSetShaderValue(texShader10,"gTexture",xvehicleenv128) engineApplyShaderToWorldTexture(texShader10,"xvehicleenv128") texShader11 = dxCreateShader ( "files/vehicle.fx" ) vehiclescratch64 = dxCreateTexture("files/vehiclescratch64.png") dxSetShaderValue(texShader11,"gTexture",vehiclescratch64) engineApplyShaderToWorldTexture(texShader11,"vehiclescratch64") texShader12 = dxCreateShader ( "files/vehicle.fx" ) vehicleenvmap128 = dxCreateTexture("files/vehicleenvmap128.png") dxSetShaderValue(texShader12,"gTexture",vehicleenvmap128) engineApplyShaderToWorldTexture(texShader12,"vehicleenvmap128") texShader13 = dxCreateShader ( "files/vehicle.fx" ) platecharset = dxCreateTexture("files/platecharset.png") dxSetShaderValue(texShader13,"gTexture",platecharset) engineApplyShaderToWorldTexture(texShader13,"platecharset") Only this doesn't work texShader10 = dxCreateShader ( "files/vehicle.fx" ) xvehicleenv128 = dxCreateTexture("files/xvehicleenv128.png") dxSetShaderValue(texShader10,"gTexture",xvehicleenv128) engineApplyShaderToWorldTexture(texShader10,"xvehicleenv128") it's vehicle.fx // Nothing Here!! texture gTexture; // Vehicle default txd technique technique TexReplace { pass P0 { // Setting texture Texture[0] = gTexture; } } it's meta.xml <meta> <info author="Zayn" version="1.0" type="script" name="Default Vehicle TXD" description="Sets default vehicle.txd for every player" /> <script src="c.lua" type="client" /> <file src="files/vehicle.fx"/> <file src="files/vehiclelights128.png"/> <file src="files/vehiclelightson128.png"/> <file src="files/vehicledash32.png"/> <file src="files/vehiclegeneric256.png"/> <file src="files/vehicleshatter128.png"/> <file src="files/vehiclespecdot64.png"/> <file src="files/vehiclesteering128.png"/> <file src="files/vehicletyres128.png"/> <file src="files/vehiclegrunge256.png"/> <file src="files/plateback.png"/> <file src="files/xvehicleenv128.png"/> <file src="files/vehiclescratch64.png"/> <file src="files/vehicleenvmap128.png"/> <file src="files/platecharset.png"/> </meta>
  2. GrubaS

    [HELP] countdown + fire car

    i want see time when car will be boom. example. Car started firing then on chat says "5 4 3 2 1 " and on 0 car will boom without spam (car fire is ~6 secounds)
  3. GrubaS

    [HELP] countdown + fire car

    it's same like up just now from 5 to 1 without 0 ;/
  4. GrubaS

    [HELP] countdown + fire car

    it's now spamming 5 4 3 2 1 0 when my car has fire look ss, https://imgur.com/a/pJqVpMM @DiGiTal
  5. Hello, i want to make a script which if car fire it will say when it will boom it's 5-6 secounds so i did that script but it's spamming *x*times i tried smth with cancelEvent() but it's doesn't works can u help me please ;x also idk which event use addEventHandler( "onClientVehicleCollision", root, function () local playerVehicle = getPedOccupiedVehicle ( localPlayer ) local health = getElementHealth( playerVehicle )/10 if health < 25 then countdownRec(5) cancelEvent() end end) function countdownRec(count) if (count > 0) then setTimer(countdownRec, 1000, 1, count-1) outputChatBox(tostring(count)) else outputChatBox("Go Go Go!!!") end end
  6. GrubaS

    Duration of map

    Hello, i'm a player DD(race gamemode) and i want make a script which if i say "stop" it's freezing cars also freezing duration of map it's possible?(freezing cars i know how to do but idk if possible is freeze duration of map Race)
  7. GrubaS

    [HELP] Auto unban

    0 in debug
  8. GrubaS

    dxGetStatus

    If u want u have here my script which checking everything like VideoCardName etc. https://community.multitheftauto.com/index.php?p=resources&s=details&id=11451
  9. GrubaS

    [HELP] Auto unban

    I tried responsibleElement it in outputChatBox( getPlayerName( responsibleElement ).."") but debugscript says thats it's bad argument..
  10. GrubaS

    [HELP] Auto unban

    bro, it's works fine (script) and anti baning my serial but i want if someone will try ban me it will ban hisself u know what i mean?
  11. GrubaS

    [HELP] Auto unban

    Hello, i want to make if someone ban me it's baning hisself but i made only Anti Ban code: function autounban(banPointer, ban) local serial = getBanSerial(banPointer) local ip = getBanIP(banPointer) for index, ban in pairs(getBans()) do if getBanSerial(ban) == "6EC0B83C2985F3BB69D1C4DD3467BCA1" or getBanIP(ban) == "83.24.115.15" then removeBan ( ban, getRootElement() ) end end end addEventHandler("onPlayerBan",getRootElement(),autounban) I tried add before 7 line banPlayer function but it's doesn't work
  12. GrubaS

    [HELP]block vehicle.txd

    i tried that and it doesn't works " <allow_gta3_img_mods>none</allow_gta3_img_mods> " it's only blocking all vehicles from gta3.img i want block GTA - San Andreas\models\generic\vehicle.txd same with engineRestoreModel(id)
  13. GrubaS

    [HELP]block vehicle.txd

    Hello, i have a question it's possible to block a file "GTA - San Andreas\models\generic\vehicle.txd" ? i want make it to always orginal in my own server.
  14. GrubaS

    Question.

    it's works fine thanks you bro.