Jump to content

toxicsmoke11

Members
  • Posts

    232
  • Joined

  • Last visited

Details

  • Gang
    nil

Recent Profile Visitors

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

toxicsmoke11's Achievements

Trick

Trick (18/54)

1

Reputation

  1. svi balkanci su rasporedeni po najpopularnijim mta serverima.
  2. applying the texture wasn't the problem i have fixed the problem by looping through all players in the server, and then applying the shader to that specific vehicle
  3. i tried this(not full code) function onJoinHydra(player) if getElementModel(source) ~= 520 then return end if not getElementData(source,"mod") then setElementData(source,"veh",true) end engineApplyShaderToWorldTexture(hydraShader,"hydrabody256",source) end addEventHandler("onClientVehicleEnter",root,onJoinHydra) result: only i can see custom hydra texture, others see the default i need others to usually see default hydras, but if i spawn a hydra and enter it, ONLY that hydra will get custom texture, and everyone will be able to see that cusom texture on my hydra please help
  4. compare it with what? local row = guiGridListGetSelectedItem(playerList) local gridText = guiGridListGetItemText(playerList,row,playerColumn) if row and gridText then i got nothing selected and it still passes through
  5. hi i am developing my own admin panel and i've run into a simple problem e.g when banning a player by pressing a button --i want only that a player gets banned if he (his row) is selected in a gridlist -- i am using this check if guiGridListGetSelectedItem(playerList) then --event addEventHandler("onClientGUIClick",root,onAdminClick) problem is that i can ban a player even if i didn't select anyone on the gridlist -- in that case a random player gets banned am i using this function wrongly or do i need to do additional check or what? please help
  6. Ne. 1)Imamo ovdje forum 2)Niko nebi dolazio na taj (besplatan) forum 3)Nema potrebe 4)"Igrači" su već neaktivni i ovdje
  7. -- this would stop projectile from being created if it wants to target someone function disableHeatSeek() if getProjectileTarget(source) then cancelEvent() end end addEventHandler("onClientProjectileCreation",root,disableHeatSeek)
  8. kaj ne vidis da ima jedno preko 1000 bug reportova koji nikad nisu ni pogledani od strane mta ili su ignorirani? s obzirom da nisu ni napravili mta za gta 4, vjerojatno nece ni za gta 5 (sto je steta, zato sto bi mta v bio prejeben) jedino ce ostati mta sa, koji ce zajedno sa sampom kad ostari, propast.
  9. trebalo bi poceti reklamirati mta hahahahah steta sto ce vjerojatno mta propast
  10. I think that problem is that weapon is not synced with other players
  11. i think that i've tried using that targetElement before to myself, and only i could see the shader while others seen default on me D: i need that others see my custom texture while they have default one(so its basically 2 textures of same weapon at same time just on different player)
  12. hey i have a question if i have a shader (like custom weapon texture for example) how can i make it that everyone can see that I have that texture, but their guns still remain with default weapon texture?
  13. just like you can't get a player from getPlayerFromName while he/she is offline, you can't get a resource with getResourceFromName if it's not running. you can use serverside and use getResources() and check if it exists server-side if you insist on client-side then idk, i didn't really use this client-sided nor i needed to
×
×
  • Create New...