Jump to content

CTCCoco

Members
  • Posts

    93
  • Joined

  • Last visited

Everything posted by CTCCoco

  1. It is recommend to use the "native" user system of MTA, or it will be better if I do my own (maybe with XML or MySQL). Thanks for the help.
  2. Thank you all for the help. I will do what you say.
  3. It really matter if you use multiple scripts or if you just use one (one for client-side, and one for server-side) for everything? Thanks for the help.
  4. Thanks for the information, that's an awesome number.
  5. How many objects can handle MTA ? I mean, the objects that are in the entire world, and the objects that are near. Thanks for help.
  6. How I can put in race gamemode nitro check and all? I add RACE mode, scroll and I see spawnpoint for car, ok, and I see for add nitro check, car check, etc but Idk how i can change the checkpoint for put nitro or health, etc. Somebody can help me please? Thanks. EDIT: thanks, I know how to do now.
  7. I don't see the difference between a client script and server script. If some functions are in both server and client script, how i can now where i must use? Please help, I don't understand very well the difference explained in the MTA:SA wiki. Thanks for all.
  8. I want to use this fuction: createColCuboid ( float fX, float fY, float fZ, float fWidth, float fDepth, float fHeight ) but How I can get float fX, float fY, float fZ, float fWidth, float fDepth, float fHeight coordinates? Thanks.
  9. It's possible to create only one zombie in , for example, 20 spawn points created by me ? I mean, not spawns a lot of zombies on the spawn point, only one, and respawn when die or something like that. Thanks.
  10. Where I can found the MTA limit's ? (objects, vehicles, etc). Thanks.
  11. Yeah, that's another bug with our crappy animation system. At the moment, a real hacky way to do this (but easy), is to just set a timer to stop the animation. (setPedAnimation(ped) - Kills the animation, no extra params.) I do it and doesn't works the same stupid figure of the player . Don't move hands. Please help. THANKS for all.
  12. How I can stop an animation automatically? I have the IDLE_Talk animation , i can stop it automatically but the men looks like a retard. You run and he can't move the hands . You need jump or do something or the men can't move the hands and looks an stupid. What I can do? Thanks for all.
  13. In SA:MP you can do it fail thanks for help me.
  14. How I can do an animation and move at the sime time? I do this animation but you can't move when you are doing it... setPedAnimation( source, "ped","IDLE_chat",4100, false, true, true) Please help me! Thanks.
  15. I can't found the coordinates of all houses in GTASA in the Interior ID list. What I can do? THANKS.
  16. And you need change something in the commands to works the system ID that you give to me? Thanks men !!
  17. There exits an ID system in MTA like in SAMP? Thanks for all.
  18. Doesn't works and I don't know why. EDIT: Problem solved thanks.
  19. doesn't make sense to me. onClientGUIClick is an event which can call your functions. In your function you can call other functions, eg. player function. I don't know if this helps but if it doesn't then please explain a little more. Thanks for reply. I want do this in onClientGUIClick : local casasxml = xmlLoadFile("casas.xml") local hEntrancex = xmlNodeGetAttribute ( casasxml, "hEntradax." .. clickhouses ) local hEntrancey = xmlNodeGetAttribute ( casasxml, "hEntraday." .. clickhouses ) local hEntrancez = xmlNodeGetAttribute ( casasxml, "hEntradaz." .. clickhouses ) local hValue = xmlNodeGetAttribute ( casasxml, "hValue." .. clickhouses ) local hOwner = xmlNodeGetAttribute ( casasxml, "hOwner." .. clickhouses ) local hValue = tonumber ( hValue ) local dinero = getPlayerMoney (idontkown) if(hOwner == "Estado") then if(dinero >= hValue) then setPlayerMoney ( idontknow, dinero - hValue) outputChatBox("Enhorabuena. Has comprado esta casa por " .. hValue .. "$.") local nombre = getPlayerName (getLocalPlayer()) xmlNodeSetAttribute ( casasxml, "hOwner." .. clickhouses, nombre) xmlSaveFile(casasxml) guiSetVisible(windowTituloCasa, false) showCursor(false) else outputChatBox("No tienes sucifiente dinero encima para comprar esta casa.") guiSetVisible(windowTituloCasa, false) showCursor(false) end else outputChatBox("Esta casa ya tiene un propietario.") guiSetVisible(windowTituloCasa, false) showCursor(false) end I can't use the player fuctions like GetPlayerMoney What I can do?
  20. You say that I don't use the Wiki? Then why I know that this event exist? magic? because I use the LUA editor. I don't see how to use the players fuctions on the wiki pages on this fuction. That's because you don't look for them. https://wiki.multitheftauto.com/wiki/Int ... _the_click you can't use player fuctions ... you must tigger an server-side event... and YES I SEE THIS https://wiki.multitheftauto.com/wiki/Int ... _the_click a lot of times. Well thanks for all.
  21. Erh... I think the last version ...
  22. You say that I don't use the Wiki? Then why I know that this event exist? magic? because I use the LUA editor. I don't see how to use the players fuctions on the wiki pages on this fuction.
  23. How I can use player fuctions on onClientGUIClick? Thanks.
×
×
  • Create New...