Jump to content

12p

Members
  • Posts

    2,608
  • Joined

  • Last visited

Everything posted by 12p

  1. 12p

    LUA Function

    Easier, use (server-side): getPlayerCount()
  2. 12p

    Costum sounds

    Please write it as "CUSTOM sounds", not COSTUM sounds. And, the only way is to use playSound3D in the vehicle position, and as Zango said, tell player to turn down the GTA SFX volume.
  3. Can anybody pass me a list of the clothes type and its value? (I talk about the integers, for ex. "head = 1") I need it .
  4. 12p

    big help

    function teleport (player,teleport) if teleport == 0 then setElementInterior (player,interior,x,y,z) unbindKey ("key","down",teleportToggle) -- Remember, replace key. elseif teleport == 1 then -- For another teleport. end end addEventHandler("onMarkerHit",markerOnEntranceDoor, function (hitPlayer,dimension) teleport = 0 bindKey ("key","down",teleport,hitPlayer,teleport) -- Replace key. end) That's the best way. Remember, on each marker, choose a different "teleport" variable. And do the markers .
  5. That's true. We need those things, we should do nices new things... Not only announcements, also CUTSCENES or VIDEOS FOR CUTSCENES... I'm totally according to this.
  6. This is not a requesting forum, how many users had been said the same thing as you... NOBODY READS THE POST-ITs? Anyway, as varez said, the best thing you can do is to script it by yourself...
  7. yes. dxDrawText is a DX Text. But I want to show it, then fade it out, change its text content, and fade it in. There is some way to change the text content of a DX Text?
  8. No code. Just a little simple question: THERE IS SOME WAY TO EDIT THE DIRECTX TEXT? HOW?
  9. hello there, it's me again. I just want to know, there is some way to change a "DirectX" text? I want to do some kind of cutscene, and use DirectX as the storyteller. But I dunno if there is some way to change its text, or just use another DirectX text...
  10. 12p

    Heey Dudes.

    maybe this is the problem (don't know ) function Miniclient () setWaterColor( 255, 0 , 0 ) setSkyGradient( 0 , 0 , 0 , 0 , 0 , 0 ) end addEventHandler( "onClientRaceStart", getRootElement(), Miniclient )--"resourceRoot" doesn't appear anywhere. Use "getResourceRootElement()" or "getRootElement()"
  11. no, i mean this: That should contains this: If you don't have this file, create it (accounts.xml), and copy paste this in that file: <accounts> <autologin>0</autologin> <account name="Console" password="" /> </accounts>
  12. 12p

    RACE User Panel

    LOL. Well, you should give the script to MTA team, don't you? I dunno .
  13. By me, I just began using the MTA wiki and modifying resources. Whne you learn enough functions, you will be able to make your own scripts .
  14. Generally, that problem is got when the players has a problem with the account data, maybe the server didn't set well that... (check out "accounts.xml" on "MTA --> Server --> mods --> deathmatch" and look out at that).
  15. 12p

    RACE User Panel

    Race User Panel is a resource made by Castillo14/SolidSnake14. You don't need to ask for creating it.
  16. function player_Spawn ( hisTeam )-- Other event, other parameters... local sound = playSound("1.wav",false) -- I suggest add "false", for prevent a loop. setSoundVolume(sound, 0.5) end addEventHandler ( "onClientPlayerSpawn", getRootElement(), player_Spawn ) --"onClientPlayerSpawn", not "onPlayerSpawn". Well, easy. playSound is only-client-side function, so you can't use "onPlayerSpawn" event, you must use the client event.
  17. Well, that's true... But your friend must tell you that (if he don't do, maybe he doesn't want to be ur friend). And that friend list may be used as a "Foe List" (following the users for disturbing him), so there must be a Foe List too.
  18. Why to create this? The user search bar on the Browse Servers window is enough to find your friend, why to have a Friends List?
  19. Ask about that HERE! That's my gamemode!
  20. 12p

    friendy fire

    If you want to fully disable Friendly Fire, you should make this client-side and apply "onClientPreRender" event to set the friendly fire off all the time, or use setTimer function (if your script doesn't work, try it)...
  21. 12p

    fix

    , was easy to find , I'm here to help .
  22. 12p

    Object problem

    BED? it's BAD! And you can find the object from GTA Mods (look out at GTAGarage.com), or modelling it by yourself with 3DS Max Studio.
  23. I saw the same problem happening at some objects, when I had a map. I'm sure it's a MTA Engine problem...
×
×
  • Create New...