Jump to content

50p

Retired Staff
  • Posts

    2,973
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by 50p

  1. It'll never look good because how would the clothes animate? Not worth effort.
  2. You can check the size of arg table. If it's 0 then the player hasn't entered any message. You don't have to make a new table of arguments because there is one already inside functions that use .... if #arg == 0 then outputChatBox( "Correct usage: /".. commandName .." [message]", player ); else -- do whatever you want if there were arguments passed as message outputChatBox( "(( [GLOBAL OOC]"..playerNameIs..": ".. table.concat( arg, " " ) .. " ))" ); end
  3. The original Godfather script was never leaked. It was released. Why would you pay a scripter $2k? Why don't you donate that to MTA?
  4. You triggerServerEvent with the character data and you store it in a DB but before you store it, you check if you've already stored data for this character, if there is data already then use it in different functions like spawnPlayer. The only table you'll use is the table you get back from MySQL query or you won't even use a table at all..
  5. That's probably because of the distance between camera and the sound itself.
  6. 50p

    [help] Accounts

    Read this again: https://wiki.multitheftauto.com/wiki/Ser ... nistrators BTW, accounts are stored in internal.db file which is an SQLite file.
  7. Wiki is the first place that you should visit when you need help. Remember that. I've never asked a question on this forum on how to script... All you need to do is spend loads of time reading. Practice makes perfect.
  8. If you don't get it, you need to read wiki more.
  9. How can it be fixed if it's not working? You don't need guiSetVisible at all. Just remove it. In clientSkinSelect you can remove it too and instead use destroyElement. Show your code after you do all the changes.
  10. 50p

    Move Camera

    What are you talking about?
  11. 50p

    Skins problem

    play resource uses 1 script as far as I remember. Open meta.xml to find out which one.
  12. setguiviseble=false because it's create gui, but i need to hide it, it's will show if you type SKIN in console or chat..... addeventhandlers to the CreateSelectorWindow.. i need it?))) You create the window when you type the command..So what's the point of hiding it if you just created it? Also, indent your code since it's difficult to read it.
  13. LoL i know it=DD but gui don't works..(( and cursos will arive hm... in russian language: я знаю это=D но гуи всё равно не пашет..(( токо курсор появляется... Will you ask my questions?
  14. I don't understand why you've put guiSetVisible(wdwselector, false) in a function which creates the window and you show the window after you add event handler and why don't you move addEventHandlers to the CreateSelectorWindow instead of having them in another function?
  15. Oh split... There is no splite in English that's why I was confused. Anyway, don't attach them all at the same time.. From the list of models, select like 100, if it still crashes then select 80, if it still crashes, keep dropping down by 20 and you'll see how many objects you can attach at once. It won't take you long to attach all 1000 by attaching smaller amounts of models at once.
  16. 50p

    Skins problem

    Open the script in any text editor and use its search feature to find "spawnPlayer".
  17. 50p

    Move Camera

    https://wiki.multitheftauto.com/wiki/OnClientRender https://wiki.multitheftauto.com/wiki/SetCameraMatrix and some maths.
  18. https://wiki.multitheftauto.com/wiki/IDE_List
  19. 50p

    Custom car paintjobs

    FALSE! Handling modification, Carmods, (.dat, .ide, etc files) not allowed according to the server. <verifyclientsettings>0</verifyclientsettings> for disable Change MODELS TXD, DFF, Cols, etc no gives problems. Depends what models and textures you're talking about and in what way are you changing the models/textures... https://wiki.multitheftauto.com/wiki/Ser ... ent_Checks
  20. 50p

    Two MTA sa clients?

    No, you can't run 2 instances of MTA.
  21. If it won't crash with 1000 object then why should it crash with 6 models but with the same amount of polygons? And what splite is?
  22. As I said, you can attach more than 1 models only with the little "window" button next to "Attach" button, you will see list of all the models in the scene which you can select (hold Ctrl to select more than 1 item or Shift to select all the models between 1st selected and last selected). This is the only way. I'm not going to implement models attachment in my script because there is no point.
  23. Ok, you mean you want to select a few models and export them as 1 model? No you can't do this because I export all selected models separately. You can select 1 object (Editable mesh or Editable poly) and use the Attach button to attach other models or click the little "window" button next to Attach button to get a list of models that you can select and attach. Then you can export the new model.
×
×
  • Create New...