Jump to content

x86

Retired Staff
  • Posts

    334
  • Joined

  • Last visited

Everything posted by x86

  1. http://development.mtasa.com/index.php? ... eSQLSelect these you mean ? EDIT: Hm, i can better work with MySQL.. results is better with fetch_assoc..
  2. Yes, i use that function, do you know how can fix it ? You can temporarily fix it by using XML or SQL. But overall, it's better to use setAccountData. (if it works. If it doesn't, like in this case, use something else or nothing instead) My old version of greenhood was MTA-MySQL, but sometimes it lags
  3. Hmm, so another reason.. i must wait till mta 1.0
  4. Yes, i use that function, do you know how can fix it ?
  5. Hi, I'm creating a login system with addAccount functions. It works fine, but if i restart server, accounts.xml is: <accounts> <autologin>0</autologin> <account name="Console" password=""/> </accounts> Thank you.
  6. Check out this youtube link.. I fixed alot of lag scripts, nice fly sync (Sorry for dutch video)
  7. x86

    Funcs..

    This is a nice function to have more fun... Sea height.. bool setSeaLevel(int level) returns: true or false.
  8. x86

    HTTP Server

    Hi, Can i change my HTTP settings, i want that people can see my resource info.. So, no 403 login check Thank you.
  9. x86

    Funcs..

    I think it's added... http://code.google.com/p/multitheftauto ... tail?r=227
  10. First we gonna make the .col file, then i let sink with moveObject ? I will post a video if it's done:)
  11. Hi, I've script the titanic mod (from gtagarage) in MTA (I think if you join, it's a big download, like 8/9 MB).. Screenshot (BIG): http://img117.imageshack.us/img117/2272 ... e7bwy3.jpg LaNCer is now busy with the .col file.. I will make a video about it. It's a nice ship in MTA .. Post in this topic suggestions. Sorry for my bad english, i'm dutch
  12. x86

    Funcs..

    Hi, Post here new functions, i hope mta will add them in 1.0 PlayerScale: setPlayerScale(element player = nil, float scale = 1.0) (Returns true or false)
  13. Have you tried like the example? Doing engineLoadTXD outside of engineImportTXD, instead of in it. I don't think it'll give better results, but worth trying! EDIT: Huh? You can replace objects... Right? But the ones that are already present in the GTA map won't change... Or is that what you meant? i want replace gta map objects, not mine..
  14. hmm, this is not working.. engineImportTXD(engineLoadTXD("cs_forest.txd"), 694) or is there a better mc snow mod
  15. omg, what's wrong ?.. my scripts are ok... i just want the object id's ..
  16. Hi, I have found a mod for mount chilliad in snow.. But i don't know the object/model id's.. I have this script: engineImportTXD(engineLoadTXD("cs_coast.txd"), 0) engineImportTXD(engineLoadTXD("cs_forest.txd"), 0) engineImportTXD(engineLoadTXD("cw_changemecs_t.txd"), 0) engineImportTXD(engineLoadTXD("mtbfencecs_t.txd"), 0) engineImportTXD(engineLoadTXD("w_town3cs_t.txd"), 0) engineImportTXD(engineLoadTXD("cs_lod_town.txd"), 0) engineImportTXD(engineLoadTXD("cs_roads.txd"), 3792) engineImportTXD(engineLoadTXD("mtbtrackcs_t.txd"), 0) engineImportTXD(engineLoadTXD("mtb_banners.txd"), 0) engineImportTXD(engineLoadTXD("w_town2cs_t.txd"), 0) --engineImportTXD(engineLoadTXD("ChiliadExp.txd"), 0) engineImportTXD(engineLoadTXD("cs_lod.txd"), 0) engineImportTXD(engineLoadTXD("cs_mountain.txd"), 0) engineImportTXD(engineLoadTXD("cs_town.txd"), 0) engineImportTXD(engineLoadTXD("w_towncs_t.txd"), 0) thank you.
  17. function destroyBlipsAttachedTo(player) local attached = getAttachedElements ( player ) if ( attached ) then for k,element in ipairs(attached) do if getElementType ( element ) == "blip" then destroyElement ( element ) end end end end Why you have that double in script ?
  18. Jup One screen for scripting/reloading mta etc.. and one screen for mta (game)
  19. x86

    Hmm, clientside?

    Hi, Clientside doesn't support mysql_connect ? Bye
  20. x86

    onPickupHit?

    source = pickup id ?
  21. x86

    onPickupHit?

    Hi, This is my script for a house system (SQL) onResourceStart()..... while ... do createPickup(house["x"], house["y"], house["z"], 3, 1272, 2000) end --------------------------------------- function HuisjesPickup() outputChatBox(source) cancelEvent() end addEventHandler("onPlayerPickupUse", root, HuisjesPickup) And the error: ERROR: ...A/mods/deathmatch/resourcecache/greenhood/server.lua:370: attempt to concatenate global 'source' (a userdata value) Can you help me? Thank you.
×
×
  • Create New...