Jump to content

Avagard

Members
  • Posts

    65
  • Joined

  • Last visited

Details

  • Gang
    SoL
  • Interests
    nubs

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Avagard's Achievements

Snitch

Snitch (10/54)

2

Reputation

  1. works.. thank you :)!
  2. i just realized that i want to give the bomb to the players in Dimension 0... i want to know where should i put this line? if getElementDimension ( randomPlayer ) == 0 then
  3. thank you.. there was a problem just a small one and i fixed it..
  4. will this work? function giveBombToRandomPlayer1() local players = getPlayersInTeam ( T ) for playerKey, playerValue in ipairs ( players ) do local randomPlayer = getRandomPlayer () setTimer(function() outputChatBox("You have the bomb!", randomPlayer, 255, 0, 0) outputChatBox("Remember when you enter site.. switch to the C4 to plant!", randomPlayer, 255, 0, 0) giveWeapon ( randomPlayer, 14,1,true) end,6000,1) end end
  5. I LOVEEEEEEEEEEEEY YOUUUUUUUUUUUUUUUUUUUUU!!!!!!!!!!!!! THANKS SO MUCHHHHHHHHHHHH crouching with Rock Launcher HS doesn't work.. any idea? setWeaponProperty(36,"poor","flag_anim_crouch", true) setWeaponProperty(36,"std","flag_anim_crouch",true) setWeaponProperty(36,"pro","flag_anim_crouch", true)
  6. fileRead is a Shared function... why don't you use it on client?
  7. hello.. i am having this problem from ages..i tried and tried i want to shoot while moving.. but i CAN'T FOR SOME REASON code: addEventHandler("onPlayerJoin",root, function() setPedStat ( source, 70, 999 ) setPedStat ( source, 71, 999 ) setPedStat ( source, 72, 999 ) setPedStat ( source, 74, 999 ) setPedStat ( source, 76, 999 ) setPedStat ( source, 77, 999 ) setPedStat ( source, 78, 999 ) setPedStat ( source, 79, 999 ) end ) setWeaponProperty(23, "poor", "flag_move_and_aim", true ) setWeaponProperty( 24, "poor", "flag_move_and_aim",true) setWeaponProperty( 25, "poor", "flag_move_and_aim",true ) setWeaponProperty( 26, "poor", "flag_move_and_aim",true) setWeaponProperty( 27, "poor", "flag_move_and_aim", true ) setWeaponProperty( 29, "poor", "flag_move_and_aim", true ) setWeaponProperty( 30, "poor", "flag_move_and_aim", true ) setWeaponProperty( 31, "poor", "flag_move_and_aim",true ) setWeaponProperty( 33, "poor", "flag_move_and_aim", true) setWeaponProperty( 34, "poor", "flag_move_and_aim", true ) setWeaponProperty(23, "poor", "flag_move_and_shoot", true ) setWeaponProperty( 24, "poor", "flag_move_and_shoot",true) setWeaponProperty( 25, "poor", "flag_move_and_shoot",true ) setWeaponProperty( 26, "poor", "flag_move_and_shoot",true) setWeaponProperty( 27, "poor", "flag_move_and_shoot", true ) setWeaponProperty( 29, "poor", "flag_move_and_shoot", true ) setWeaponProperty( 30, "poor", "flag_move_and_shoot", true ) setWeaponProperty( 31, "poor", "flag_move_and_shoot",true ) setWeaponProperty( 33, "poor", "flag_move_and_shoot", true) setWeaponProperty( 34, "poor", "flag_move_and_shoot", true ) --- setWeaponProperty(23, "std", "flag_move_and_aim", true ) setWeaponProperty( 24, "std", "flag_move_and_aim",true) setWeaponProperty( 25, "std", "flag_move_and_aim",true ) setWeaponProperty( 26, "std", "flag_move_and_aim",true) setWeaponProperty( 27, "std", "flag_move_and_aim", true ) setWeaponProperty( 29, "std", "flag_move_and_aim", true ) setWeaponProperty( 30, "std", "flag_move_and_aim", true ) setWeaponProperty( 31, "std", "flag_move_and_aim",true ) setWeaponProperty( 33, "std", "flag_move_and_aim", true) setWeaponProperty( 34, "std", "flag_move_and_aim", true ) setWeaponProperty(23, "std", "flag_move_and_shoot", true ) setWeaponProperty( 24, "std", "flag_move_and_shoot",true) setWeaponProperty( 25, "std", "flag_move_and_shoot",true ) setWeaponProperty( 26, "std", "flag_move_and_shoot",true) setWeaponProperty( 27, "std", "flag_move_and_shoot", true ) setWeaponProperty( 29, "std", "flag_move_and_shoot", true ) setWeaponProperty( 30, "std", "flag_move_and_shoot", true ) setWeaponProperty( 31, "std", "flag_move_and_shoot",true ) setWeaponProperty( 33, "std", "flag_move_and_shoot", true) setWeaponProperty( 34, "std", "flag_move_and_shoot", true ) --- setWeaponProperty(23, "pro", "flag_move_and_aim", true ) setWeaponProperty( 24, "pro", "flag_move_and_aim",true) setWeaponProperty( 25, "pro", "flag_move_and_aim",true ) setWeaponProperty( 26, "pro", "flag_move_and_aim",true) setWeaponProperty( 27, "pro", "flag_move_and_aim", true ) setWeaponProperty( 29, "pro", "flag_move_and_aim", true ) setWeaponProperty( 30, "pro", "flag_move_and_aim", true ) setWeaponProperty( 31, "pro", "flag_move_and_aim",true ) setWeaponProperty( 33, "pro", "flag_move_and_aim", true) setWeaponProperty( 34, "pro", "flag_move_and_aim", true ) setWeaponProperty(23, "pro", "flag_move_and_shoot", true ) setWeaponProperty( 24, "pro", "flag_move_and_shoot",true) setWeaponProperty( 25, "pro", "flag_move_and_shoot",true ) setWeaponProperty( 26, "pro", "flag_move_and_shoot",true) setWeaponProperty( 27, "pro", "flag_move_and_shoot", true ) setWeaponProperty( 29, "pro", "flag_move_and_shoot", true ) setWeaponProperty( 30, "pro", "flag_move_and_shoot", true ) setWeaponProperty( 31, "pro", "flag_move_and_shoot",true ) setWeaponProperty( 33, "pro", "flag_move_and_shoot", true) setWeaponProperty( 34, "pro", "flag_move_and_shoot", true ) NOTE: I REMOVED ALL RESOURCES EXPECT FOR ADMIN,EDITOR,MANAGERS AND WEB SO I CAN MAKE MY OWN GAMEMODE..MAYBE THAT IS THE PROBLEM?? IF THAT SO PLEASE TELL ME WHAT RESOURCE SHOULD I DOWNLOAD
  8. how can i attach them to the player hand? and what is the differences between createWeapon and giveWeapon?
  9. thank you..one more question.. how can i enable crouching with rpg?
  10. yes.. it output you have the bomb but the other output doesn't show when i enter the col nvm i fixed it, but just a question.. will it always give to a random player from tT team?
  11. hello... there is a problem i have in my code when the player enters the ColShape nothing happens.. no errors no nothing code: function giveBombToRandomPlayer1() local randomPlayer = getRandomPlayer () local tT = getTeamFromName ("Terrorists") local playerTeam = getPlayerTeam ( randomPlayer ) if ( playerTeam ) == tT then outputChatBox("You have the bomb!", randomPlayer, 255, 0, 0) setElementData(randomPlayer,"hasBomb1",true) end end bombA = createRadarArea ( 3118.7380371094, -1407.4719238281, 20, 20, 255, 0, 0, 150 ) bombAEnter = createColRectangle( 3118.7380371094, -1407.4719238281, 20, 20) function whenEnterbomb1(hitPlayer) if getElementType(hitPlayer)=="player" then if getElementData(hitPlayer,"hasBomb1") == true then outputChatBox("Press 'g' to plant the bomb!",hitPlayer, 255, 0, 0) setElementData(hitPlayer,"canPlant1",true) end end end addEventHandler( "onColShapeHit", bombAEnter, whenEnterbomb1) function whenLeaveBomb1(hitPlayer) if getElementType(hitPlayer)=="player"then if getElementData(hitPlayer,"hasBomb1") == true then setElementData(hitPlayer,"canPlant1",false) setElementData(hitPlayer,"hasBomb1",false) end end end addEventHandler( "onColShapeLeave", bombAEnter,whenLeaveBomb1)
  12. this should work local szefpozicio = {2485.87524, -1666.34705, 13.34380,2487.87526, -1666.34705, 13.34380} local szef = createObject (2634, tonumber(szefpozicio[0])) local szefrectangle = createColRectangle (2485.8720703125, -1665.8211669922, 5, 5) function szefopen(jatekos) if isElementWithinColShape (jatekos, szefrectangle) then moveObject (szef, 5000, tonumber(szefpozicio[1])) outputChatBox (math.random(1, 2)) end end addCommandHandler ("felfeszit", szefopen)
  13. wa..wut? i want people to have different weapon models from each other and they can see the other guy weapon model.. how can i do that? if you say no... i saw it in some servers
  14. but it does not change the model.
  15. hello.. can some one tell me an easy way to make custom weapon with different weapon models?
×
×
  • Create New...