Jump to content

Majhol

Members
  • Content Count

    43
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Majhol

  • Rank
    Rat

Details

  • Gang
    FBI
  1. Majhol

    need help

    working well , thanks muuuch!
  2. Majhol

    need help

    I found a big bug , now if you are not in the police teams all all weapons doesn't shot
  3. Majhol

    need help

    WeaponID = { [30] = true, } --add an event handler for onPlayerWeaponSwitch addEventHandler ( 'onPlayerWeaponSwitch', getRootElement ( ), function ( previousWeaponID, currentWeaponID ) if ( WeaponID[currentWeaponID] ) then toggleControl ( source, 'fire', false ) --disable the fire button else if ( getPlayerTeam ( hitPlayer ) == getTeamFromName ( "Police" ) ) then toggleControl ( source, 'fire', true ) --enable it end end ) this is what i reached to and I couldn't figure out the setpedweapon
  4. Majhol

    need help

    hi guys I couldn't post a code because I couldn't think of anything all I need is how to make ak47 for only "police" team I couldn't do it , can anyone help me out?
  5. Majhol

    Teams

    if your talking about admin then I guess its ACL thingy , casue admins aren't considered as an team but an ACL group
  6. hi guys i'm wondering how can I make a car gets invisible after being exploded and thanks
  7. can someone please re upload the basemode gamemode basemode.zip I already have the areas all I need is basemode gamemode
  8. السلام عليكم محتاج مساعدة في هذا المود البسيط لما يدخل الماركر يسوي انميشن يشرب وامبي الشراب يكون في ايده ويكمل مع مع الانمشن ويختفي من يده مو يبقى ممكن مساعدة؟ وهذا الكود local pepsi = createObject( 955, 1463.5, -2206, 12.5, 0, 0, 0 ) local myMarker1 = createMarker( 1463.4791259766, -2207.4919433594, 13.546875, "cylinder", 1, 255, 255, 0, 170 ) local kb_beer = createObject( 1950, 0, 0, 0, 0, 0, 0 ) function MarkerHit1( player, matchingDimension ) takePlayerMoney ( player, tonumber(150) ) setPedAnimation( player, "VENDING", "VEND_Drink_P", -1, true, false, true )
  9. no what I mean I want to set a timer with it so when he drinks the bottle after 1300 the bottle should be gone not the position of the bottle
  10. I guess we are close to the target all I want is him drinking the beer while in the marker and then the bottle should be gone
  11. lool look now when I go to the marker he do the animation and nothing in the hand and I got shocked with this bottle in his hand
  12. Nope, this is the finale code local pepsi = createObject( 955, 1463.5, -2206, 12.5, 0, 0, 0 ) local myMarker1 = createMarker( 1463.4791259766, -2207.4919433594, 13.546875, "cylinder", 1, 255, 255, 0, 170 ) local kb_beer = createObject( 1950, 0, 0, 0, 0, 0, 0 ) function MarkerHit1( player, matchingDimension ) takePlayerMoney ( player, tonumber(150) ) setPedAnimation( player, "VENDING", "VEND_Drink_P", -1, true, false, true ) setTimer(function () setPedAnimation ( player, nil, nil) end,1300,1, true) outputChatBox( "لقد استعدت قوتك", player, 25
  13. no sorry I made mistake on this I renamed it now to bone_attach
×
×
  • Create New...