Jump to content

homar

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by homar

  1. homar

    Admins Spawn

    thx , you all , you helped me too much thx guys
  2. homar

    Admins Spawn

    so this new lua file ?
  3. homar

    Admins Spawn

    but when i die he isn't respawn !
  4. homar

    Admins Spawn

    Admins Spawn , so i want this one when i login i be in Desert base (A69) but aren't work too function adminSpawn (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then spawnPlayer (source, 218, 1867, 13, 0, math.random (211,217), 0, 0, ) end end end addEventHandler ("onPlayerLogin" getElementRoot(), adminspawn)
  5. i'm getting sick from teams script look , i want this autoteams not with tag , but it's will be for admins if you admin you will be removed auto , but aren't work with me correct = createTeam ( Admins, 225, 0, 0 ) function team (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then setPlayerTeam" class="kw6">setPlayerTeam ( theAccount, correct ) end end end addEventHandler ("onPlayerLogin" team, correct)
  6. isn't work for Moderators door = createObject (969, -693.33526611328, 961.4765625, 11.519198417664, 0, 0, 90) myMarker = createMarker ( -692.35626220703, 966.18280029297, 12.28093624115, 'cylinder', 6.0, 0, 0, 0, 0 ) function markerHit (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) or if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ("Moderator") ) then moveObject ( door, 1500, -693.3701171875, 970.4765625, 11.519198417664 ) end end end addEventHandler ( "onMarkerHit", myMarker, markerHit ) function markerLeave (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin, Moderator" ) ) then moveObject ( door, 1500, -693.33526611328, 961.4765625, 11.519198417664 ) end end end addEventHandler ( "onMarkerLeave", myMarker, markerLeave )
  7. i want make this gate for Admins and Mods , but aren't work what the function please ! door = createObject (969, -693.33526611328, 961.4765625, 11.519198417664, 0, 0, 90) myMarker = createMarker ( -692.35626220703, 966.18280029297, 12.28093624115, 'cylinder', 6.0, 0, 0, 0, 0 ) function markerHit (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin, Moderator" ) ) then moveObject ( door, 1500, -693.3701171875, 970.4765625, 11.519198417664 ) end end end addEventHandler ( "onMarkerHit", myMarker, markerHit ) function markerLeave (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin, Moderator" ) ) then moveObject ( door, 1500, -693.33526611328, 961.4765625, 11.519198417664 ) end end end addEventHandler ( "onMarkerLeave", myMarker, markerLeave )
  8. can you see me what i forgot it's work , but i don't see the bug in mine , show me the line please
  9. i made it but still not work door = createObject (969, -693.33526611328, 961.4765625, 11.519198417664, 0, 0, 90) myMarker = createMarker ( -696.35626220703, 966.18280029297, 12.28093624115 'corona', 2.0, 0, 120, 225, 150 ) function markerHit (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then moveObject ( door, 1500, -693.3701171875, 970.4765625, 11.519198417664 ) end end end addEventHandler ( "onMarkerHit", myMarker, markerHit ) function markerLeave (player) local theAccount = getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then moveObject ( door, 1500, -693.33526611328, 961.4765625, 11.519198417664 ) end end end addEventHandler ( "onMarkerLeave", myMarker, markerLeave )
  10. i want to admins not fot team , admins who can ban , kick etc .... i don't know the function to get player from his group , and i want it auto if he is near to door it's will be open !
  11. any one can hekp me please ?
  12. gate for Admins ( help please ) this one i made with commande /open and /close . but i tried to make for admins if i was near to gate it's will be open auto this one i made it : door = createObject (969, -693.33526611328, 961.4765625, 11.519198417664, 0, 0, 90) function opendoor ( ) x,z,y = getElementPosition(door) moveObject ( door, 1500, -693.3701171875, 970.4765625, 11.519198417664 ) end addCommandHandler ( "open", opendoor ) function closedoor ( ) x,z,y = getElementPosition(door) moveObject ( door, 1500, -693.33526611328, 961.4765625, 11.519198417664 ) end addCommandHandler ( "close", closedoor ) this one i made it but not work : door = createObject ( 969, x + 5, y, z ) Player = getPlayerTeam" class="kw2">getPlayerTeam" class="kw2">getPlayerTeam" class="kw2">getPlayerTeam ( "Admins" ) if ( Player ) then x, y, z = getElementPosition ( Player ) moveObject ( bed, 3000, x, y, z )
  13. homar

    Scoreboard

    it's work but i want delete colour codes ! look :
  14. homar

    Scoreboard

    how to change scoreboard from this : to this : please help me i'm not scripter to do it !
×
×
  • Create New...