Jump to content

d43dr4

Members
  • Posts

    319
  • Joined

  • Last visited

Everything posted by d43dr4

  1. I will do what on the tutorial ^^ Thx again
  2. اوك ، الحين وين الاقي اللوحات ببرنامج TXD Workshop وكيف اعدل عليها ؟
  3. السلام عليكم و رحمة الله تعالى و بركاته كيف الحآل ؟ المهم ، شباب عندي استفسار و هو كيفية استبدال لوحة او اي شيء في اللعبة مثآل : هذه اللوحة ، كيف اغير مثلا في لونها او اضع صورة مكانها هل يمكن ببرنامج TXD Workshop وكيف اضعها في سيرفري
  4. شباب انا فاهمه وش يقول يعني يقول مثلا في الاصل تطلق 3 رصاصات في 3 ثواني تصير تطلق مثلا 5 رصاصات في ثانية يعني السلاح زادت سرعت رميه طلبت الكود و ماحد عطاني ياه صعبة
  5. d43dr4

    Correct code

    i try before if i can make this why i will ask for before i post to ask for a code i try to make it myself im not exploitative
  6. d43dr4

    Correct code

    i dont want to type a command if u can give me a script when it starts i will a blip
  7. d43dr4

    Correct code

    now how to make my self a blip , when iam without a car ?
  8. can i make the marker invisible ?
  9. d43dr4

    Correct code

    Hello, I got a code but it was not like i want this script code makes every Infernus with a blip but i want it to make only a blip for the car i am on it So please correct this: addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, theVehicles in ipairs ( getElementsByType("vehicle") ) do if string.find ( getElementModel ( theVehicles ), 411 ) then createBlipAttachedTo ( theVehicles, 55 ) end end end ) And if u can do a code to make me a blip on the map , my name on game if u need it #[iMr][E'rrOr]_N THX
  10. you forget the : setElementHealth ( thePlayer, 0 )
  11. Type in serial place "SERIAL" and i will replace it
  12. Hello, Guys i have a code, i try to fix it but cant here is the code : theMarker = createMarker ( 262, 1978, 18, "cylinder", 100, 255, 255, 0, 170 ) addEventHandler ( "onMarkerHit", theMarker, function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerName ( thePlayer ) == "#[iMr][E'rrOr]_N" then outputChatBox ( "* Welcome Sir,", player, 20, 255, 0, true ) elseif not getPlayerName ( thePlayer ) == "#[iMr][E'rrOr]_N" then setElementHealth ( thePlayer, 0 ) end end end ) I create this code to make a marker no one exept me can enter to the place in it ... the marker was created , but now isnt when i add my name and something else so please if you can correct it help me if u can replace name by serial do it .. and thx
  13. Thx guys ... always you resoulve the problems, i have learn many things !! mybe i will be like you in the few weeks ^^
  14. what about the output color ?
  15. but how to make the chat output by color ? please and how to make in place of type xx auto when its found my name i mean in place of type xx, the stats sets to me automaticly when it found my name : #[iMr][E'rrOr]_N
  16. Thx Castillo Works great ^^
  17. Hello Guys, ^^ How r yah ? i have a code to set player stats, it works when i set just one stat buy if i set too many stats the script stop working The code which works : function changeBodyStrength ( player, commandName ) if ( setPlayerStat ( player, 24, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) end end addCommandHandler ( "xx", changeBodyStrength ) The code which not works : ( Cuz i set many stats ) function changeBodyStrength ( player, commandName ) if ( setPlayerStat ( player, 22, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 23, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 24, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 69, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 70, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 71, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 72, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 73, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 74, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 75, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 76, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 77, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 78, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) elseif ( setPlayerStat ( player, 79, 999 ) ) then outputChatBox ( "* Your player looks really muscular", 0, 255, 0, true ) end end addCommandHandler ( "xx", changeBodyStrength ) i hope you correct this script please ...
  18. شباب خلص لقيت الكود بس في مشكل لما اسويه كذا function changeBodyStrength ( player, commandName ) if ( setPlayerStat ( player, 22, 999 ) ) then outputChatBox ( "Your player looks really muscular" ) else outputChatBox ( "Failed to make your player look muscular." ) end end addCommandHandler ( "xx", changeBodyStrength ) و اكتب xx يكون شغال بس لما اسوي كثير مثلا function changeBodyStrength ( player, commandName ) if ( setPlayerStat ( player, 22, 999 ) ) then elseif ( setPlayerStat ( player, 23, 999 ) ) then elseif ( setPlayerStat ( player, 24, 999 ) ) then elseif ( setPlayerStat ( player, 69, 999 ) ) then elseif ( setPlayerStat ( player, 70, 999 ) ) then elseif ( setPlayerStat ( player, 71, 999 ) ) then elseif ( setPlayerStat ( player, 72, 999 ) ) then elseif ( setPlayerStat ( player, 73, 999 ) ) then elseif ( setPlayerStat ( player, 74, 999 ) ) then elseif ( setPlayerStat ( player, 75, 999 ) ) then elseif ( setPlayerStat ( player, 76, 999 ) ) then elseif ( setPlayerStat ( player, 77, 999 ) ) then elseif ( setPlayerStat ( player, 78, 999 ) ) then elseif ( setPlayerStat ( player, 79, 999 ) ) then elseif ( setPlayerStat ( player, 255, 999 ) ) then outputChatBox ( "Your player looks really muscular" ) else outputChatBox ( "Failed to make your player look muscular." ) end end addCommandHandler ( "xx", changeBodyStrength ) يخرب السكرب وانا ابيهم كلهم في سكربت واحد وش الحل
  19. اخوان ابي اللي مثل في الادمنية مثلا مثل ذي يعني لما ادخل يكون كل شيء 1000 اليا اذا ممكن تسوون 2 منها وانا بكمل اللي باقي
  20. setPlayerStat ( getPlayerFromName ( thePlayer ) == "#[iMr][E'rrOr]_N", Health, 1000 )
  21. السلام عليكم شباب سويت كودين ولكن مدري وش الخطا فيهم ما يشتغلون صح حاولت تصحيحهم لكن ما زبطت الأول: يسوي اي سيارة اركبها بدمج لانهائي اي لا تتفجر او لا ينقص نقاط دمها addEventHandler ( "onVehicleStartEnter", root, function ( thePlayer, theSeat ) if source == theVehicle then if ( theSeat == 0 ) and ( getPlayerName ( thePlayer ) ~= "#[iMr][E'rrOr]_N" ) then setVehicleDamageProof ( getPedOccupiedVehicle ( getPlayerFromName ( "#[iMr][E'rrOr]_N" ) ), true ) end end end ) الثاني: يسوي لما ادخل انا للسيرفر يعطيني Stats 1000 حاولت كثير لكن ماعرفت الرجاء وضع حل للكود الاول والكود الثاني و شكرا لكم
×
×
  • Create New...