Jump to content

_DrXenon

Members
  • Posts

    249
  • Joined

  • Last visited

Everything posted by _DrXenon

  1. _DrXenon

    .

    And if that worked, you have probably understood the way you should do the rest of the colors.
  2. _DrXenon

    .

    Admin - Purple - R,G,B - 183,0,255 Admin - White - R,G,B - 255,255,255 So at start, G should be 255 as well as R; to be white. MaxPoints are 375; The G should be 0 by the end and the R should be 183. colorG = (255/maxPoints) * reputation colorR = ((255 - 183) / maxPoints ) * reputation tocolor(255 - colorR, 255 - colorG,255) That would probably work. It will start with white and end up with purple.
  3. If he means that he want to disable changing of the rows position, he should use guiGridListSetSortingEnabled function. I don't know what you guys talking about, how to change row or column width? With a mouse? Jist asking
  4. You mean some kind of a vote? Like players can vote to kick a certain player when he has a high ping? Otherwise, you probably need LabiVila's or Dimos7's code.
  5. I think he is talking about the colmun width. How can somone usually change the width of a column rather than with a script?
  6. _DrXenon

    .

    Ok so whats wrong with your code? When the points are 0, the color is white &when the points are 75 the color is fully green. You just need to change tocolor(0,calc,0,255) Right? Or what?
  7. But columns are not movable nor sizeable by default..
  8. Tables for what? I may have not understood the issue? Anyway, You can simply use setElementData & setVehicleDamageProof. I seriously did not understand what is the problem here, But tables are never needed unless you prefer to use them.
  9. Use setWorldSoundEnabled(5,false) It will remove weapon sounds.
  10. Username: Dr. Uncompareable Email: [email protected] Reason for applying: Well, I script alot. Therefore, I need to test my scripts on public so I can make sure they are not including any bugs etc. + I want to have fun with my friends sometimes. Server Type: MTASA Server Slots: Anything more than 5 slots is great! -- I will make sure to get active on your forums, And thanks in advance.
  11. _DrXenon

    Ped anims

    If the animations are saved then just trigger the animation function when the player login.. anyway are the peds created in server-side file?
  12. سلام عليكم يالعرب اليوم جيتكم بسكربت جديد السكربت يعملك دي جي مع كل حاجيات الدي جي من الستاند للوحة التحكم Yo everybody, Today I bring to you the DJ Script This script creates a DJ stand for you And A GUI panel to control & add music. حتى تصير دي جي انت بحاجة تكتب /dj وبعدين قرب من الستاند عشان تظهر لوحة التحكم لما تنتهي اكتب في التشات /destroydj عشان تخفي الستاند وتوقف الموسيقى In order to become DJ, command /dj in main chat. Whenever you're done with the DJ stand; Type /destroydj so the DJ stand gets hidden. مميزات الدي جي: عندك القدرة تسمع اي اغنية عن طريق اليو ار ال URL عندك قدرة تحط تأثيرات صوتية مختلفة للاغاني عندك اماكنية تحط دروب بيتس للانتقال ما بين الاغنيات DROP BEATS وكمان عندك القدرة انه تغير صوت الاغاني. ومميزات جديدة جاي قريبا، ممكن اقتراحات برضه DJ Features: The ability to play any song using song URL. The ability to change sound effects to any song The ability to use drop beats to change music smoothly The ability to change music volume! NEW VERSION COMING SOON, any suggestions is appreciated. صور/Images: This script was orginaly made to SAFG:RPG by Me. السكربت كانت مفروض تكون للسيرفر ال ار بي جي SAFG:RPG رابط/link: https://community.multitheftauto.com/in ... s&id=13007 اظن اني كسبت انتباهكم وشكر لكل داعم
  13. number = guiGetText(edit) If tonumber(number) and number < 365 then OutputChatBox("...") elseif number > 365 then ... elseif number == 365 then The player gets the job end اذا بتعرف برمجة فاظن انك فهمت علي، اذا لأ فعلاغلب ما تكون فعمت
  14. It is already in. Maybe go to lib city interior or rebuild from its objects!
  15. I wonder what kind of scripting you are hoping to get and what kind of resources? Cheers
  16. I am not good with cars and im on phone, but try this anyway: function onVehicleEnter_handler( ) for i,player in ipairs(getElementsByType("player")) do local account = getPlayerAccount(player) local veh = getPedOccupiedVehicle(player) if not isGuestAccount(account) then local id = getAccountData(acount,"wheel") if veh then for i,v in ipairs(getVehicleUpgrades(veh)) do if v ~= id then addVehicleUpgrade(veh,id) end end end end end end setTimer(onVehicleEnter_handler,100,0)
  17. _DrXenon

    help error?

    As it says, There is nil value instead of A string in line 120, Check the data.lua script line 120 and try to figure out whats wrong, i cant help more without the written function.
  18. There is no way anyone can understand what you want unless you make your self clear, If you cant speak proper english, Try talking in another language and maybe one scripter can help you! Cheers man
  19. I did not quite get the idea, how am i suposed to turn 2d image on my pc to a 3d one in GTA World, And will it look as the real col sphere? Or did i misunderstand?
  20. I can see the second picture is a modified Police car, I may be wrong, But whatever. Anyway, Paint shaders for MTA cars are everywhere, Take a look at the community, There is different types of shaders..
  21. Maybe use getElementSpeed, it is a useful function, If not, Try attaching a col shape to the missle and whenever any element hit sthe col shape that is attacjed to the missle, MISSLE blows. I Hope i hepled.
  22. Hey fellas, I am making a new Gamemode for MTA... And Its not ready yet, Anyway while scripting I was stuck on one thing, Which is Showing A Col Sphere to all players but hide all other Col Spheres. I don't mean 'setDevelopmentMode() or showCol, those functions will show all col spheres to all players, What i am searching for is a function, Something custom that shows One certain Col Shape but doesnt show all other col shapes. If you got any ideas or any clear solution, ill be glad to read.
  23. make a table like: local sql = { executeSQLQuery }; at first or even use it like that local sql = { query = executeSQLQuery }; then to send data use: sql.query("INSERT INTO sqlName(firstarg[,secondarg,thirdarg,...,...]) VALUES ("..firstVariable..","..second..")") then to receiver use: sql.query("SELECT firstarg FROM sqlName WHERE = ?",where) when using "?" in the SQL String, you gotta answer it after the string. like: sql.query("SELECT wantedLevel FROM players WHERE = ?",getPlayerName(thePlayer)) Of course you can send nor receive if you didn't create the SQL table aleady... to create one use: sql.query("CREATE TABLE IF NOT EXISTS sqlName(firstarg INT,second TEXT,third REAL,... TEXT,... TEXT)" TEXT, INT or REAL presents the type of the argument... if text INT then this argument should only filled with INTs not Floats REAL = Any real number. TEXT = text value.. to insert a text value to sql table use: sql.query("INSERT INTO sqlName("firstarg,second,third,....,...) VALUES ("..variable..",' "..theTEXT" ',"..third..")") as we created the table with second argument as text then when inserting a value for the second argument use ' ' Anyway.. Anybody may fix me for any wrongs...or mistakes as i am also new for SQL Thingy..
  24. I may give it a try when i am not busy!
×
×
  • Create New...