Jump to content

Bzz335

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by Bzz335

  1. Thank you very much,man.
  2. UP. How I can use ipairs? Give me example,please.
  3. IIyama,just miss print. Thanks,manawydan.
  4. Hm,see the IDs of weapon in table?(5,24,25,28,30,33,44) So,when player will spawn if he's in team "Killers" then local positionsofthespawn={ [1]={x,y,z,5,24,25,28,30,33,44}, --Spawn o_O } local killers = createTeam("Killers",255,204,153) addEventHandler("OnPlayerSpawn",root, function() local playerTeam = getPlayerTeam ( source ) local team = getTeamName ( playerTeam ) if team=="Killers" then giveWeapon(source,here,myammo) end end ) I must get IDs , but how?Please,help.Thanks.
  5. Hello,need help. addEventHandler("onPlayerLogin",getRootElement(), function(player) local tp = getPlayerTeam(source) accountName = getAccountName(getPlayerAccount(source)) if tp~=nil and ( isObjectInACLGroup ( "user."..accountName, aclGetGroup ( "Admin" ) )) then setPlayerTeam(source,staff) setPlayerSkin(source,217) outputChatBox("Welcome to the Staff team!",source,153,255,153) outputDebugString ( "Staff: " .. getPlayerName(source) .. " joined the Staff Team.",3,255,215,153) end end ) So,if tp(team) is nil(He isnt in team) and player in ACL group "Admin" then... Please,help.
  6. Bzz335

    i want code

    Search or make it by yourself. I think nobody will make it for you for free,we can only help you.
  7. x,y,z=0,0,0 --Coords here. function out(player) local accountName = getAccountName(getPlayerAccount(player)) if ( isObjectInACLGroup ( "user."..accountName, aclGetGroup ( "V.I.P" ) )) then outputChatBox("Welcome to the V.I.P base;",player,250,218,221) else outputChatBox("You aren't V.I.P;",player,255,0,0) setElementPosition(player,x,y,z) end end; addEventHandler("onColShapeHit",nameofcolshapehere,out)
  8. ccw,town,thank you very much!!!
  9. http://pastebin.mtasa.com/513632269
  10. Параметры экрана:1280x768 ;60 ГЦ;16Бит.16:9 Всё началось с того,что старый монитор сломался(Да,именно сломался),Я поставил плазму(теливизор) с большим разрешением.Теперь МТА не запускается,нужна помощь. MTADIAG:http://pastebin.mtasa.com/464631951
  11. I already deleted it and nothing.
  12. http://pastebin.mtasa.com/464631951
  13. I replaced monitor and MTA can't start. screen resolution: 1360x768( I tried others);16:9.(Tried others) So,I just see the image of load("Stop playing with yourself") and nothing then... Until replace MTA worked perfect.help please.
  14. http://imgur.com/r4imwhI,uurpSfF IDK!Yesterday I played and all was OK,but today I tried to start mta and....fail! Help please,I reinstalled GTA+MTA,but it's didnt helped.
  15. ? Где все обсуждения,которые когда-то были?(2012-2013)
  16. Because math.random(26,41) But why 26,24?
  17. setElementFrozen ( ped[i], true )
  18. local lowerBound,upperBound = unpack(get"color_range") lol.
  19. see. Add classes to table,then math.random. classes={ [1]={"0,0,0","NameOfTeam"},--Position,name of team [2]={"0,0,0","NameOfTeam"},--Position,name of team [3]={"0,0,0","NameOfTeam"},--Position,name of team --etc } teams={ } --Then function: function setClass() end addEventHandler("onPlayerLogin",getRootElement,setClass) You can make so: CreateTeam with names of Classes and when you'll spawn,player will get random teams.
  20. https://community.multitheftauto.com/in ... ls&id=8513
  21. script: local xmlFileID = xmlLoadFile ( "id.xml" ) local idnumber = xmlFindChild ( xmlFileID, "id", 0 ) meta:
  22. Lol.What you can say about spam cars? Why you didn't add some strings: setElementData( thePlayer, 'spawned', true ) if getElementData( thePlayer, 'spawned' ) then ... end
×
×
  • Create New...