Jump to content

BlackWhite

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

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

BlackWhite's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. bro where is block the command in Las venturas :C
  2. local spawns = { { 1936.1899414063, 1622.6533203125, 72.2578125, 90 }, { 2155.63671875, 1483.9974365234, 24.140625, 90}, { 2023.1564941406, 1436.7003173828, 10.8203125, 90 }, { 2121.4245605469, 1484.5670166016, 10.8203125, 90 }, { 2170.0751953125, 1679.1960449219, 10.8203125, 90 }, { 2095.324218755, 1282.2322998047, 10.8203125, 90 }, } function spawn( player ) local rnd = math.random( 1, #spawns ) setElementPosition( player, spawns[rnd][1], spawns[rnd][2], spawns[rnd][3] ) end addCommandHandler("pvp",spawn) Hi all, ı created some warp coordinates for pvp in las venturas.but players using abusing in pvp.ı need block /pvp command in just Las Venturas.which must ı add codes ? can you help me please ?
  3. BlackWhite

    Acil Etkinlik

    BEYLER SERVERIMA ETKİNLİK (EVENT) LAZIM.YAPABİLEN ARLADAŞLAR VARSA YAZSIN.YADA ELİNİZDE GÜZEL EVENTLER VARSA SATIN ALINIR.
  4. hi Nexus this is group system.ı cant use createTeam :C
  5. radar1 = createRadarArea(84, 1774,320,370,0,255,0, 100) setElementData(radar1,"zombieProof",true) Zone1 = createColRectangle (84, 1774,320,370) addEventHandler("onColShapeHit", Zone1, function(h) if not isElement(h) then return end if getElementData(h,"zombie") then killPed(h) end --These zones are also zombie proof end) function enterArea1(thePlayer) local posX, posY = getElementPosition(thePlayer) local inArea = isInsideRadarArea(radar1, posX, posY) if (inArea) then if hasObjectPermissionTo(thePlayer, "function.addAccount", false) then --Specify who can enter the zone primaryWeaponControl = isControlEnabled ( thePlayer, "fire" ) if ( primaryWeaponControl == true ) then toggleControl ( thePlayer, "fire", false ) -- change to true/false to allow/disallow shooting. outputChatBox("***Safe Zone***", thePlayer, 0, 255, 0, true) end else triggerClientEvent(thePlayer, "displayTimer1", thePlayer) end end end addEventHandler("onColShapeHit", Zone1, enterArea1) function warp1() local posX, posY = getElementPosition(source) local inArea = isInsideRadarArea(radar1, posX, posY) if (inArea) then if hasObjectPermissionTo(source, "function.addAccount", false) then --Specify who can enter the zone outputChatBox("***CHECKER*** You are allowed in this zone.", source, 0, 255, 0, true) else outputChatBox("You are not allowed in this area, Sorry...", source, 255, 0, 0, true) outputChatBox("You have been warped.", source, 255, 0, 0, true) if isPedInVehicle ( source ) then local playerVehicle = getPedOccupiedVehicle ( source ) setElementPosition(playerVehicle, 2341.2072753906, -1658.8668212891, 13.379216194153) else setElementPosition(source, 2341.2072753906, -1658.8668212891, 13.379216194153) end end end end addEvent("warp1", true) addEventHandler("warp1", root, warp1) Hi I want make special zone for group base.when other group members enter the base,he will die in 5 seconds.this codes in server side.but ı cant add for group system.which can ı change code ? it is want player account.ı looked MTA sa wiki for permission group but ı cant find.thanks for help
  6. ah thanks buddy.so how can ı add colorly base zone,if other group member will enter the base , he will die 5 seconds later.just ı need idea.which command ı am thinking
  7. Local GroupName = 'Warriors' onWasted = function() if getElementData(hitElement,'Group') == 'Warriors' then function sp( source ) setElementDimension( source, 0 ) setElementPosition( source, 215.24719+math.random(1,5), 1861.27917+math.random(5,9), 13.14063 ) setElementInterior( source, 0 ) setPedArmor ( source, 100) setPedFightingStyle ( source, 5) end setTimer(sp,1000,1,source) end end addEventHandler ( "onPlayerSpawn", getRootElement(), onWasted ) I have group system and ı will add base to some groups.ı can make gate but ı cant make group spawn for base.ı am editing this codes.what is wrong ? can you give me any idea ? thanks fo all.
×
×
  • Create New...