Jump to content

ramzi

Members
  • Posts

    90
  • Joined

  • Last visited

About ramzi

  • Birthday 22/06/1996

Details

  • Gang
    Criminal

Recent Profile Visitors

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

ramzi's Achievements

Punk-@ss B*tch

Punk-@ss B*tch (12/54)

0

Reputation

  1. Hi guys,i've over here my Headshot script which works only with team"Admins",the problem is that i tried to add 2 more teams using "and" but i failed ,Plz help me out!here is the script: addEvent "onPlayerHeadshot" addEventHandler("onPlayerDamage", getRootElement(), function (attacker, weapon, bodypart, loss) if getElementType ( attacker ) == "player" then if bodypart == 9 and weapon == 34 then local HSteam = getPlayerTeam(attacker) if HSteam and getTeamName(HSteam)=="Admins" then local result = triggerEvent("onPlayerHeadshot",source, attacker, weapon, loss) if result == true then killPed(source, attacker, weapon, bodypart) setPedHeadless( source, true ) addEventHandler("onPlayerSpawn", root, function () setPedHeadless( source, false) end ) end end end end end ) function BackUp( source ) if getElementType ( source ) == "player" then setPedHeadless ( source, false ) end end
  2. Dat was a good idea for recovering lost passowrds,Great jon! keep it up.
  3. Suggest u to download "Modloader" script,Very easy!
  4. Suggest u to download "Modloader" script,Very easy!
  5. ramzi

    Gate Script

    Great,it has no errors now
  6. ramzi

    Gate Script

    Great,it has no errors now
  7. ramzi

    Gate Script

    I just answered him that he defined the team name in a variable named 'teamName' and he didn't use it at all what function should i change "teamName" to?Cuz script is w
  8. ramzi

    Gate Script

    I just answered him that he defined the team name in a variable named 'teamName' and he didn't use it at all what function should i change "teamName" to?Cuz script is w
  9. ramzi

    Gate Script

    gate1 = createObject (Gate ID, x,y,z, rx,ry,rz ) gatecol = createColCircle (x, y,z)----Put here the new dimensions u move ur gate to. local teamName = "Your Team name here" function OpenGates (thePlayer) if ( getTeamName(getPlayerTeam(thePlayer)) == "Your Team name here" ) then moveObject (gate1,2000,x,y, z ) end end addEventHandler( "onColShapeHit", gatecol, OpenGates ) function CloseGates (thePlayer) if ( getTeamName(getPlayerTeam(thePlayer)) == "Your Team name here" ) then moveObject (gate1,2000,x, y,z )---Put here the original position of ur gate before it moves. end end addEventHandler( "onColShapeLeave", gatecol, CloseGates ) This is a simple gate code i've made months ago.Post here anything u dont understand from above.
  10. ramzi

    Gate Script

    gate1 = createObject (Gate ID, x,y,z, rx,ry,rz ) gatecol = createColCircle (x, y,z)----Put here the new dimensions u move ur gate to. local teamName = "Your Team name here" function OpenGates (thePlayer) if ( getTeamName(getPlayerTeam(thePlayer)) == "Your Team name here" ) then moveObject (gate1,2000,x,y, z ) end end addEventHandler( "onColShapeHit", gatecol, OpenGates ) function CloseGates (thePlayer) if ( getTeamName(getPlayerTeam(thePlayer)) == "Your Team name here" ) then moveObject (gate1,2000,x, y,z )---Put here the original position of ur gate before it moves. end end addEventHandler( "onColShapeLeave", gatecol, CloseGates ) This is a simple gate code i've made months ago.Post here anything u dont understand from above.
  11. Thnx Guys!!!!!! u da best
  12. Can i ask for something else please?i want to ristrict it to a team,can u help me?
  13. Solved,the reason was my gameplay mod,becuz players were respawning fast.
×
×
  • Create New...