Jump to content

sora+

Members
  • Posts

    46
  • Joined

  • Last visited

Everything posted by sora+

  1. sora+

    scoreboard

    function createthedamnteams() team1 = createTeam("Members",0,255,0) team2 = createTeam("Moderators",255,255,0) team3 = createTeam("Admins",0,0,255) team4 = createTeam("VIP",139,0,139) end addEventHandler ( "onResourceStart", getRootElement(), createthedamnteams ) That will create your teams (serversided)
  2. sora+

    onPlayerWasted

    It does the same with clientSide too
  3. sora+

    onPlayerWasted

    I'm trying to make it appear only for the person who got killed , i mean when someone kills the player they will see this menu too.. Can someone help me out with this? (server) function visibility() if ( isPedDead ( thisplayer ) ) then guiSetVisible ( menu, thisplayer, true ) showCursor (true) end addEventHandler("onPlayerWasted", getRootElement(), visibility)
  4. sora+

    onPlayerWasted

    The gui menu works fine , nothing wrong with it. Btw , thanks it works!
  5. Well , if you got your LOD object's name then you can go here to find the id. https://wiki.multitheftauto.com/wiki/IDE_List
  6. Click on the button in editor which lets you select world objects , get your object , f3 , and there's your model id.
  7. sora+

    onPlayerWasted

    I've got no idea why this doesn't work , this is supposed to make a guiwindow popup when a player is wasted/killed..But nothing happens. function visibility() if ( isPlayerDead ( thePlayer ) ) then GUIEditor_Memo[1] = guiCreateMemo(10,39,269,31,"You were killed by:"..killer.."",true,menu) guiSetVisible ( menu, true ) showCursor ( true ) end end addEventHandler("onPlayerWasted", getRootElement(), visibility) client-sided
  8. well i have checked it a few times to find bugged resources, but is there an other way then testing resource one by one? Just try /start -resourcename- then open up Console by pressing "~" , you will get an error message if it is bugged
  9. Maybe your resources are bugged , did you check them?
  10. First of all access your maps' folder located in the resources folder. Next make a .lua file with notepad (just rename the file client.lua) Then open up your meta with notepad and add this line: <script src="client.lua" type="client" /> Add this into the client.lua player = getLocalPlayer() gMe7 = getLocalPlayer() function int() WTF = createMarker( x, y, z, "arrow", size, r, b, g, a) end function MarkerHit ( hitPlayer, matchingDimension ) player = getLocalPlayer( hitPlayer ) if hitPlayer ~= gMe7 then return end if source == WTF then setElementPosition(player, x, y, z) end end addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), int ) addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerHit ) And you're pretty much done , i hope you understand the basics..
  11. Yeah , i get how to use the TXDworkshop part , but..Does the Name in the "Image properties"(txdworkshop) has to be the same as the Object name / id as in 3D Max?
  12. Didn't see that, is there a possiblity the idea will be accepted?
  13. Well , i couldn't find another forum for this so i posted this here.. Okay , i am making simple .DFF models using AutoDesk 3D MAX, but i don't understand how to add new textures with txdworkshop (not editing old textures)..So , can someone help me out with this please?
  14. As you may know there are a few fences and objects in gta which break when shot with a bullet. So can it be possible to add the possiblity of adding some kind of command to make the object non-breakable or breakable? setObjectBreakable() or something such as that? It will be really useful me and some others.
  15. sora+

    Ped Killer

    Well so yeah i am working on a server while i come accross a unknown matter. So my client sound file is this (Not gonna show the whole client.lua ) Client.lua type="client" --Sounds-- function cry(hitElement, matchingDimension) local sound = playSound("Sounds/Witch Cry.wav") setSoundVolume(sound, 0.6) end actioncol01 = createColSphere ( -1507.9633789063, -2337.2800292969, 7.7860670089722, 50 ) addEventHandler("onClientColShapeHit", actioncol01, cry) So i wanted to create the l4d witch in the forest. I have her model and i replace ped 120. Siz.lua type="server" function pedLoad ( name ) createPed ( 120, -1507.9633789063, -2337.2800292969, 7.7860670089722) end addEventHandler ( "onResourceStart", getRootElement(), pedLoad ) Now how can i set this ped to kill other local player i need help on this also i have this weird error "Aborting infinate running script editor_main" in the console window. So if someone can tell me how can i create this ped to kill that will be appreaciated , and also how i fix this error Thanks in advance!
  16. so,how can i get the txd modules?becuase when i open vgsairport14 there are 2 txd's in there named runway1 and something else...help me
  17. Hello guys I was wondering how i extract .txd files out of .dff files?i am trying to create an custom objects for "vgEhshade01_lvs.txd" and i usually used "vgncarshade1.txd"(i got the vgncarsahde1.txd from my mods folder since i downloaded that .txd file from an mta server and i edit the module so i change it).i need VgEhshadde01_lvs txd file which is inside the dff module,but how can i possible extract the .txd modules from a .dff module please help
  18. i was thinking of can someone make an resource that allows you to change the sky and water color and also create pools of water for example i wanna put water in grove street(but i can't script good...),so i get the resource and it has an menu from where i can pick an color of where i put the water and change color of sky/water will e an nice resource becuase most of us wanna create good visuals in mta race like lava. so can someone create an resource where you can change water/sky color and create pools??
  19. well i have been mapping many maps lately and all are tdm well i have a problem you know what weapons players spawn well...i went to the map setting area and put all the weapons i wanted players to spawn then i tested it a only the colts spawned and here the m4 weapon id:31 can someone help me out i am new to mta and this is how i put the weapons in order 31:999,4:99,9,1,38,999,etc is this how or like this? "31:999,4:99,9,1,38,999,etc" or like this i tryed both ways niether worked for me and also since i started my server on lan(lol)my map editor is not working anymore can someone teach me the order?
×
×
  • Create New...