DaminkO Posted April 12, 2017 Share Posted April 12, 2017 ابي فنكشنز لصناعة سكن معين لشخص واحد بس بالسيريال حقه Link to comment
Abu-Solo Posted April 12, 2017 Share Posted April 12, 2017 20 minutes ago, Mr.Amin said: ابي فنكشنز لصناعة سكن معين لشخص واحد بس بالسيريال حقه تسوي جدول فيه سريالآت وبعدين تسوي تحقق من السريال ... Link to comment
DaminkO Posted April 12, 2017 Author Share Posted April 12, 2017 14 minutes ago, Abu-Solo said: تسوي جدول فيه سريالآت وبعدين تسوي تحقق من السريال ... انا اقصد سكن معدل كل واحد وسكنه والسكن فيه اكثر من سكن معدل Link to comment
#BrosS Posted April 12, 2017 Share Posted April 12, 2017 sql or database or setaccountdata عشان تتحقق اذا معه سكن وتحفظه وعشان تتحقق من السريالات if getPlayerSerial(player) == "سريال " then او اني مو فاهم فكرتك Link to comment
#Soking Posted April 12, 2017 Share Posted April 12, 2017 أستخدم الشادر ض1 , 5 minutes ago, #BrosS said: sql or database or setaccountdata عشان تتحقق اذا معه سكن وتحفظه وعشان تتحقق من السريالات if getPlayerSerial(player) == "سريال " then او اني مو فاهم فكرتك 51 minutes ago, Abu-Solo said: تسوي جدول فيه سريالآت وبعدين تسوي تحقق من السريال ... هو قصده أن شخصيه معينه , تكون لسريال او اكثر , بحيث ان محد يقدر يأخذها مأينفع TxD - setElementModel يستخدم وزيفه الشادر باي 2 Link to comment
DaminkO Posted April 12, 2017 Author Share Posted April 12, 2017 4 hours ago, #Soking said: أستخدم الشادر ض1 , هو قصده أن شخصيه معينه , تكون لسريال او اكثر , بحيث ان محد يقدر يأخذها مأينفع TxD - setElementModel يستخدم وزيفه الشادر باي ممكن رابط شرح للشادر Link to comment
ميدوح Posted April 13, 2017 Share Posted April 13, 2017 shader.fx Shaders for world textures Here are a couple of examples of shaders to use when replacing world textures with engineApplyShaderToWorldTexture Simple This shader just replaces the texture and allows GTA to control all the render states. //-- Declare the texture. These are set using dxSetShaderValue( shader, "Tex0", texture ) texture Tex0; technique simple { pass P0 { //-- Set up texture stage 0 Texture[0] = Tex0; //-- Leave the rest of the states to the default settings } } ______________________________________________________________ Texture names Texture names Download shader_tex_names.zip This resource is only a tool, and doesn't do anything pretty. It shows a list of the current visible texture names, and highlights the selected texture. Ideal for finding a texture name to use with engineApplyShaderToWorldTexture. num_8 shows/hides the texture list, num_7 and num_9 step through the list, and 'k' copies the current texture name to the clipboard. ------------------------- example ! -- c.lua myPlay = triggerServerEvent("mySerial") -- function triggers server ! ped = setElementModel(myPlay,16) addEventHandler("onClientResourceStart", resourceRoot, function(ped) -- up ! local shader = dxCreateShader("shader.fx") -- the shader Effect File(.fx) file engineApplyShaderToWorldTexture(shader, "bmyap",ped) -- The resource shader_tex_names can help in finding the names of world textures. dxSetShaderValue(shader, "Tex0", dxCreateTexture("img/1.png")) -- This sets a named parameter for a shader element & The filepath of the image end ) ---- --s.lua addEvent ( "mySerial", true ) addEventHandler("mySerial",root,function(player) -- Event system if getPlayerSerial(player) == "text serial" then -- your serial outputChatBox ( "Done") -- chat say Done end end) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now