Jump to content

[STM]Metalhero

Members
  • Content Count

    70
  • Joined

  • Last visited

Community Reputation

0 Neutral

About [STM]Metalhero

  • Rank
    Transformer

Details

  • Gang
    eXo
  1. maybe you can find scripts here http://community.mtasa.com/ or if you rly want special scripts post a reply
  2. your problem is "createTeam" ist is server function you must learn to choose server and client side
  3. 1. function createScroll() 2. local scrollbar = guiCreateScrollBar (0.95,0,0.05,1,false,true) 3. guiSetProperty(scrollbar,"StepSize",0.1/19.5) 4. addEventHandler("onClientGUIScroll",scrollbar,onScroll) 5. showCursor(true) 6. end 7. 8. function onScroll() 9. outputChatBox(tostring(guiScrollBarGetScrollPosition(source)*10)) 10. end 11. 12. createScroll()
  4. you dont need to detect key yust wire funtion with bined keys for example function start () bindKey("accelerate","both",funcw) bindKey("brake_reverse","both",funcb) end addEventHandler( "onClientResourceStart", getRootElement( ),start) function funkw () outputChatBox("You drive with vehicle") end function funkb () outputChatBox("You drive reverse with vehicle") end
  5. stupid post have you login with the account or regisertert with [GGR]Jack_Miller
  6. can any help to trigger one hunter rocket hit a object ? thx for all anserwers
  7. no but i think i must one part of script in server side and one part of script in client side but i dont work
  8. if have map a map cod ebut marker odnt work function resource_says_hai () outputChatBox ( "Metalhero says Have FUN", getRootElement(), 51, 255,255 ) k1 = createObject ( 8838, 3389.5720214844, -1764.0531005859, 28, 0, 0, 0 ) k2 = createObject ( 2898, 3411.4658203125, -1774.7734375, 26.377542495728, 0, 326.25, 0 ) k3 = createObject ( 2898, 3505.853515625, -1739.0093994141, 2.952540397644 ) s1 = createObject ( 2898, 3379.9379882813, -1774.4644775391, 29.452541351318, 0, 0, 0 ) s2 = createObject ( 2898, 3383.9897460938, -1774.4644775391, 29.452541351318, 0, 0, 0 ) s3 = createObject ( 2898, 3388
  9. i dont check this fuction stand first
  10. not with server side ok i have try to make waht but i dont work pl shelp SERVER: addEvent "Killer" function blowVehicle(player) end triggerClientEvent(getRootElement(),"onkillTimer") addEventHandler("onMapStarting") CLIENT: afkTime = 3000 function funcInput ( key, keyState ) if ( keyState == "up" ) then if not isTimer(afktimer) then afktimer = setTimer(function() outputChatBox("afk") end,afkTime,1) end else if isTimer( afktimer) then killTimer ( afktimer ) end end end function bindTheKeys () bindKey("fire","both",clientAction) bindKey("next_weapon","both",clientAction
×
×
  • Create New...