Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. !! But some people need these events and I think it is better to add events!Thank you!
  2. Looks great! Thank you for this job!
  3. If you Can , make it Now ! , We are talking seriously not playing I hope that you know what I mean!
  4. Just download it again : https://community.multitheftauto.com/index.php?p=resources&s=download&resource=4994&version=1.1.0&selectincludes=1
  5. So Why My Script ^ Up , Not Working? local Unemployed = createTeam ( Unemployed )
  6. also, you had forgot to define the color arguments. Hmm.. So, Who put this example?Does this mean that wrong example? function gimmeATeam ( source, commandName, teamName ) local newTeam = createTeam ( teamName ) -- create a new team with the specified name if newTeam then -- if it was successfully created setPlayerTeam ( source, newTeam ) -- add the player to the new team end end addCommandHandler("giveteam", gimmeATeam)
  7. Again skin. No team.. Works perfect here. I try it now and it works correctly ^ ^ i think he is use it @ client side maybe | show you,r meta.xml and Castillo please answer my question up ^
  8. I have a question!What's wrong with the create of the team have?I have learned this from the wiki!Supposed to work I try to change the way the create of the team was working properly!Damn! my fault I'm sorry ,Thank you anyway! try : Unemployed = createTeam ( "Unemployed", 0, 255, 0 ) function SetSkinAndTeam(player) setElementModel ( player, 239 ) setPlayerTeam ( player, Unemployed ) end addCommandHandler ( "resign", SetSkinAndTeam )
  9. Try This Server Side! : local Unemployed = createTeam ( Unemployed ) function SetSkinAndTeam(player) setElementModel ( player, 239 ) setPlayerTeam ( player, Unemployed ) end addCommandHandler ( "resign", SetSkinAndTeam ) And It seems you forgot to create a team? Not Tested But Should To Work **
  10. you can do it using : setElementModel createTeam setPlayerTeam addCommandHandler And i think what you are going to do should to be like that? : Server Side -- local Unemployed = createTeam ( Unemployed ) function SetSkinAndTeam(player) setElementModel ( player, 239 ) setPlayerTeam ( player, Unemployed ) end addCommandHandler ( "resign", SetSkinAndTeam ) https://forum.multitheftauto.com/viewtopic.php?f=91&t=53366
  11. No problem all people forget .
  12. First,Post your script Second, you can use : createBlipAttachedTo
  13. ذذ انت ماستخدمت @ getPlayerTeam getTeamName كيف تبية يفتح بـ تيم ؟ وانت اصلا ماسويتة ؟! ذذ
  14. تأكد السكربت يكون [ Server Side ]
  15. That will be useful in : For Example SoRa Create Give Permissions Panel If events have been added will develop the script is very useful ^^ For AclModifyObject , AddObject , SetRight . Link : https://forum.multitheftauto.com/viewtopic.php?f=108&t=52663 I hope you understand what I mean and I hope add events ^ ^ Thank you for your interest ^ ^
  16. استخدم : getPlayerTeam getTeamName bindKey وعدل الايفنت ذذ
  17. Try This Should To Work And i Think it,s Better To Complete The Script On The First Topic : addEventHandler("onPlayerChangeNick", root, function(old,new) local nick = string.gsub( new, "#%x%x%x%x%x%x", "" ) if nick ~= old then setPlayerName( source, nick ) end end )
  18. اذا اظغط على الزر مايصير شي كود خرابيص >< ديستوري للالمنت ؟ قبل مايسوي السيارهـ ؟ ذذ : بسوي لك الكود بسس بسيط ^^ وانت كمل التيمات ..الخ Client : function Car() if ( source == Button ) then triggerServerEvent("Car",localPlayer) end end addEventHandler( "onClientGUIClick", root, Car ) Server : addEvent( "Car", true) addEventHandler( "Car", root, function () x,y,z = getElementPosition ( source ) vehicle = createVehicle ( id, x, y, z ) warpPedIntoVehicle ( source, vehicle ) end )
  19. addEventHandler("onPlayerChangeNick", root, function( ) local name = getPlayerName( source ) local nick = string.gsub( name, "#%x%x%x%x%x%x", "" ) setPlayerName( source, nick ) end ) i think it,s should to be like that ^
  20. You should always remember this (:
  21. createMarker getPlayerTeam getTeamName guiSetVisible guiGetVisible getElementPosition createVehicle isElement destroyElement "OnPlayerWasted" -- Event "OnClientMarkerHit" -- Event
  22. حبيت اذكرك: اولاً قيم مود سيرفرك انا مسونه ليك ثانياً انا وتوب سنايبر الي علمناكم اللعبه وعلمناكم ليها وسوينا ليكم سيرفرات لما كبرتون وتكبرتون ثالثاً انت مركب مودات من موداتي في سيرفرك وانا مميزك ان انا عطيتك اياهم مو مشفرين ............................................... ماأبي اكمل افشلك [ علمته الرماية ولما اشتد ساعده رماني ]
×
×
  • Create New...