Jump to content

kajahun

Members
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by kajahun

  1. kajahun

    GUI vs Dx

    Hey guys! What's the better method to create UIs, menus etc with good custom design. GUI windows, or dxDraw and track the cursor position for example for the button clicks?
  2. And where can I find the default CJ skin file?
  3. Hey guys! I want to replace CJ's face. But the textures rotation is off. How can I align properly? Code: local shader2 = dxCreateShader( "shaders/shader.fx", 0, 0, false, "ped" ) local face = dxCreateTexture ( "files/faces/1.jpg" )--path of face.png engineApplyShaderToWorldTexture ( shader2, "cj_ped_head", localPlayer, true )--body part of cj(head) dxSetShaderValue ( shader2, "gTexture", face ) Shader.fx: texture gTexture; technique replace { pass P0 { Texture[0] = gTexture; } } Texture:
  4. Hey guys! Is it possible to create mounts in MTA? For example horses, which players can ride? And maybe carriages? How should I start it? What method?
  5. Hey! For example, I have an user table. I have an achievement list store in the scripts. How can I store the completed achievements for the users in the SQL? Maybe a third connection table? Because it is a many-to-many connection Or in the user table somehow?
  6. Hey guys! My question is where should I store static data? For exaple list of achievements, or list of weapon config (damage, model etc). In a local XML file, or an uniqe sql table? Thank you!
×
×
  • Create New...