Jump to content

50p

Retired Staff
  • Posts

    2,973
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by 50p

  1. And what did you set for src attribute? And where is the file located (server resource)?
  2. Read the PHP SDK page. It's all there.
  3. It will work if you swap car with object in attachElements. Remember RAFuLL, the command parameters are: /attach (the last 3 must be 0 if you don't use them)
  4. skin_replacer is the resource root folder but you try to load a file from ".../resources/skin_replacer/skins/80.txd" which is completely wrong... WHY DON'T YOU LEARN TO DEBUG? -.- i'm not the one that made this script up. in that quote i was talking about the LOCAL mod folder which the resources get downloaded to. so the script must be working fine because its doing what it was designed to do which is replace the skins. BUT the custom skins DO NOT show up in basemode they are still the original. How do i make it so it uses the custom skins? And what I'm saying is that it doesn't point to the texture file. The LOCAL mod can have more folders inside... You need to learn more about MTA resources and meta.xml. Check my signature for the link to meta.xml.
  5. All the skins you've listed here are going to be supported in 1.1 and some more that are not supported in other multiplayer mods for GTA:SA.
  6. 50p

    sqlite problem

    executeSQLQuery returns table of rows (tables inside a table) not just row. So, row[ 1 ].deaths should work.
  7. You don't have to pay anything for them.
  8. 50p

    createobject

    What is the player doing in outputChatBox line? Where did you get the player from?
  9. You don't need PHP module to make stats website for your server. Every MTA server has an HTTP server buit-in. You can use JavaScript to call Lua functions to get server stats. You can make a website based system if you want too. You can use PHP SDK to make a web tool for your server.. Or you can use other programming SDKs like Java, Perl or C# which are available to download at wiki. If you need more information about it you can have a look here: https://wiki.multitheftauto.com/wiki/Resource_Web_Access And as I said, there are a few resources which do what you want to do already and they come with MTA.
  10. 50p

    createobject

    m4rsje, if you wanted to show this message to all players why did you put player in outputChatBox? So, you fixed nothing but added a location name which will be joined with "at" in the front ("atGanton", "atLos Stantos", etc.) and will still work for the player who typed the command in or will give you a warning message because player doesn't exist in the code.
  11. As dylan2en said, nobody will want to work with you on an samp project on MTA forum. Besides, there are more possibilities in MTA and such project would be made within a few simple scripts. As a matter of fact, there are a few for MTA already, webstats, webadmin, webmap. Just search the community site.
  12. You would know if you read example codes that are on almost every function/event wiki page.
  13. they are named same.. look at my earlyer post It doesn't matter in this case... @darkraid, the problem is the path to the files. You said, skin_replacer is the resource root folder but you try to load a file from ".../resources/skin_replacer/skins/80.txd" which is completely wrong... WHY DON'T YOU LEARN TO DEBUG?
  14. 50p

    dx players list

    If it doesn't appear, you must be getting a warning/error message. Try to make a new variable which will be the colour (value returned from tocolor) and check what it is (debug the script...).
  15. I always recommend you use it on everyday basis.
  16. Another one who seems to ignore looking at my links. Or why don't you just use wiki which gives you all the answers?
  17. Maybe this will help you: https://forum.multitheftauto.com/viewtop ... 91&t=28285
  18. 50p

    Nametag color

    Everything client-side is only shown and affects the player on whom the script executes. If you change headlights colour in a client-side script, only that person will see the effects.
  19. Yes, you can, but you should use getPlayerName instead. string.find( getPlayerName( player ), "[abc]", 1, true );
  20. Yes. And why don't you try it before you ask? Always try before you ask.
  21. Why don't you try? Besides, you never said what kind of race.
  22. Well, I gave you a link which you seem to ignore like most people...
×
×
  • Create New...