Jump to content

Infernus

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Infernus

  1. woow ! thaaaaaaaaaaank yoooooooouuuuuuuuuu !! I will never forget this ! and thanks for AZOZE and Solidsnake14
  2. yes it is work ,, but it is show for every player !
  3. What is the difference? only color code and same problem
  4. Hi Guys ,, this is my code : marker1 = createMarker(-2319.1865234375, -1837.935546875, 499.82629394531 , "cylinder" , 1, 0, 0, 204, 200) function markers(thePlayer) if source == marker1 then local x,y,z = getElementPosition(thePlayer) createObject(1655,x+20,y,z) outputChatBox("Object Created !") end end addEventHandler("onClientMarkerHit",getRootElement(),markers) Code works fine! But I have a problem, When i hit the marker object and the message shows to all players! Why? This is strange script is a client Please Is there a solution? I am very puzzled, because this client, why show all the players?
  5. that is worrrrrrrrrrrrk thank yooooou
  6. Hi Guys ,, I Have Problem in My script ,, it show random math problem Every 5 Sec ,, and players can answer by chat but the script doesn't work i don't know why my code : function mp() n1 = math.random(1,3) n2 = math.random(1,3) na = n1*n2 outputChatBox("The Math Problem Is "..n1.." X "..n2.." = ?") end setTimer(mp,5000,0) function onChat ( message, messageType ) if message == na then outputChatBox("Good Job") end end addEventHandler ("onPlayerChat",getRootElement(),onChat) no errors in /debug script 3 can anyone help me ? Sorry For My Bad English
  7. type in console start admin i think admin not running
  8. or local myMarker = createMarker( -2596.6259765625, 579.3583984375, 15.626741409302, 'cylinder', 2.0, 255, 0, 0, 150 ) function MarkerHit( hitElement, matchingDimension ) setElementInterior ( source, 1, 2233.91, 1714.73, 1011.38 ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
  9. Hi Guys ,, I have A simple Question How Can Get Alive Players In Team ?? i Want make script Calculate the points of teams it's benefit? local myteam = createTeam("mtasa.com") local players = getPlayersInTeam(myteam) local aliveplayers = getAlivePlayers(players) >>> i don't think >>> noob sorry i'am noob ,, and sorry for my english LoL
×
×
  • Create New...