Jump to content

B7raani

Members
  • Content Count

    53
  • Joined

  • Last visited

Community Reputation

0 Neutral

About B7raani

  • Rank
    Snitch

Details

  • Gang
    AhlAlBait
  1. hey guys i need help in this code when i remove the getteam code the script works well but when i add it wont this is the code what i want to make gate opening for selected team wish you help local gate = createObject(980, 1471.5766601563, -2237.9533691406, 13.3828125, 0, 0, 90) local marker = createMarker(1471.6849365234, -2236.3430175781, 13.3828125, "cylinder", 5, 255, 255, 255, 0) function moveGate(psource) if getTeamName(getPlayerTeam) == "test" then moveObject(gate, 5000, 1479.1284179688, -2238.0764160156, 13.3828125) setTimer(moveBack, 5000, 1)
  2. i did replace but when i did i click on choose team it doesnt spawn me when i return it to its defualt it worked please help
  3. i did but its not working please help Perfect no i want to make same team cant kill each other because its pissing me off please help me please
  4. no when i just add / the script doesnt work
  5. hey guys i need help in friendly fire please this is the team selection code imade the friendly fire true but its not working "Teams الأفرقة" > "Rebel" friendlyfire="true" > "يجب أن نحصل على حقوقنا وأن لا ندع أي شيء يقف في طريقنا" /> "255" green="0" blue="0" /> "ثائر" id="1" > "1475.9217529297" y="-2240.7573488281" z="13.3828125" rot="90" /> "وفاقي" id="7" > "1475.9217529297" y="-2240.7573488281" z="13.3828125" rot="90" />
  6. not working this is the meta.xml "B7raani" type="script" version="1.0.0" /> "sarimskra.wav" /> music.lua playSound("sarimaskra.wav",true) sarimskra.wav music name wish you help
  7. hey guys as the topic says i just need simpe help in playing music in the server this is the code i made i know it sucks but i need your help guys musicPlay("sarimaskra.wav") i want it to play the music again and again and thanks for reading and helping
  8. dude thanks much much *kiss* haha
  9. guys while this subject is on i upgraded the /sit and /unsit to make them market hit i made when player gets in the marker it should automatically makes him /sit but not working wish you help me again this is the code chair = createObject ( 1810, 1470.5999755859, -2231.399023438 , 12.39999961853, 0, 0, 0 ) chair2 = createObject ( 1810, 1471.5999755859, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) chair3 = createObject ( 1810, 1472.5, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) chair4 = createObject ( 1810, 1473.5, -2231.3999023438 , 12.39999961853, 0, 0, 0 ) chair5 = createObject (
  10. thaaaaaaaanksssssss muuuuuuuuuch its working as charm now
  11. lol now my code even /sit is not working
  12. guys still is not working please help me i need it for after 2 hour and nothing is working please help im doing what you say but i see nothing
  13. guys i think its not working see this is the code i remade with your help function makePlayerSitDown(player,cmdname) setPedAnimation(player,"ped","SEAT_idle",-1,true,false,true) end addCommandHandler("sit",makePlayerSitDown) function makePlayerunSitDown(thePlayer,cmdname) setPedAnimation( player, nil, nil,-1,true,false,true ) outputChatBox( "Sitting Mode: Off!", player, 255, 0, 0 ) setElementData( player, "sit", "deactivated" ) toggleControl( player, "forward", true ) toggleControl( player, "jump", true ) toggleControl( player, "aim_weapon", true ) toggleControl
  14. Thanks Guys For The Help
  15. Hey guys i just want a little help in My Code Its sitting command i made it but i cant make it unsit this is my code function makePlayerSitDown(player,cmdname) setPedAnimation(player,"ped","SEAT_idle",-1,true,false,true) end addCommandHandler("sit",makePlayerSitDown) function makePlayerunSitDown(player,cmdname) setPedAnimation( thePlayer, nil, nil,-1,true,false,true ) outputChatBox( "Sitting Mode: Off!", thePlayer, 255, 0, 0 ) setElementData( thePlayer, "sit", "deactivated" ) toggleControl( thePlayer, "forward", true ) toggleControl( thePlayer, "jump", true ) to
×
×
  • Create New...