Jump to content

Controlled

Members
  • Posts

    167
  • Joined

  • Last visited

Everything posted by Controlled

  1. This thread is here, if you do not understand you can ask questions. Simply saying "We don't understand" is not helping anyone. What do you not understand, so I can explain it to you?
  2. Collisions is when a Element can run into a object, or walk through it. The collisions are set to true which they shouldnt be. When I restart the resource while I'm online then the collisions get fixed but after reconnecting they are all set to true.
  3. Yes... Its a resource with all the custom maps in it. Have you ever loaded custom mapping to a server? lol
  4. "editor_main"> "object (bighangar1_SFx) (4)" interior="0" alpha="255" doublesided="false" model="3816" scale="1" dimension="0" posX="1686.599609375" posY="-2662.5" posZ="21.10000038147" rotX="0" rotY="0" rotZ="179.99450683594"> "object (arhang_LAS) (1)" interior="0" alpha="255" doublesided="false" model="3629" scale="1" dimension="0" posX="1890.8000488281" posY="-2659.6999511719" posZ="19.200000762939" rotX="0" rotY="0" rotZ="0"> Like that and then in the Meta: "airport.map" dimension="0">
  5. When we add a .map to our server we get some weird issues. We add it, restart the resource and then its fine. But when someone else reconnects to the server, they get weird collisions on the map all over the place. The only way to fix it is to restart that resource again. But when you reconnect the issue starts again. I'm not sure if I am missing something or what. Thanks
  6. I want to replace the TXD on this billboard.. Does anyone know the ID for it?
  7. It can be placed in your freeroam resource.
  8. Tried it by using the Stream URL that I'm trying but it says its a bad sound pointer. Any way to fix this?
  9. I think you misunderstood. Sound Properties only allows:
  10. fadeCamera ( source, true) That will fade the player to black. https://wiki.multitheftauto.com/wiki/FadeCamera
  11. Lets say I wanted someone to have the ability to stream a song from the web from something like: http://www.181.fm/playing.php?station=181-power I already have that part working, but is it possible to see what song is playing? Shows it on the site, I'm just not sure how to grab that information... Thanks
  12. function setCameraOnPlayerJoin() -- slowly fade the camera in to make the screen visible fadeCamera(source, true, 5) -- set the player's camera to a fixed position, looking at a fixed point setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) end addEventHandler("onPlayerJoin", getRootElement(), setCameraOnPlayerJoin) I used that example and it made no difference, it was just a black screen.
  13. I tried that and it seemed not to make a difference. my screen was still black
  14. Would all I need "setCameraMatrix"? I don't need any text really, just something for people to see while downloading
  15. How can one make it so in the "Downloading Map" screen when you connect to a server, it has the camera on a certain spot. I have seen it in other servers and looks cool. I haven't found anything on how to do this though so If you know could ya please help me out?
  16. Just to better explain, you need the "thePlayer" infront to define who the event is getting triggered for. Before you had it triggering for everyone in the server.
  17. Controlled

    Solved

    Exactly what he said. outputChatBox("#00ff00Player Has been muted by #ff0000Admin", getRootElement(), 255, 255, 255, true) Notice the "True" on the end. That enables the Color Codes
  18. call(getResourceFromName("mysql"), "query_free", "UPDATE `accounts` SET `dm`=`dm`-".. amount*2000 .." WHERE `id`=".. tostring(gameAccountID) .."") Something like that? EDIT: I used what is above^ got the same error EDIT 2: Tried mysql:query_free("UPDATE `accounts` SET `dm`=`dm`-2000 WHERE `id`=".. tostring(gameAccountID) .."") and got the same error in LUA, but not in the SQL
  19. 100% Sure, sir. Been bugging me for awhile now
  20. Get the title error when I run a script with this. exports.mysql:query_free("UPDATE `accounts` SET `dm`=`dm`-".. amount*2000 .." WHERE `id`=".. tostring(gameAccountID) .."") Amount and such are all properly defined
×
×
  • Create New...