Jump to content

MINI AUYUDA PORFAVOR!!


Atouk

Recommended Posts

Como ago para que no me aparescan los codigos estos ~#~€#~€ y me aparesca el color?

Quiero que se lo diga al jugador que entra, no a todo el mundo.

Script:

  
local hillArea = createColRectangle ( -3298.0908203125, 357.818359375, 200, 210 ) 
local hillRadar = createRadarArea ( -3298.0908203125, 357.818359375, 400, 210, 0, 0, 0, 250 ) 
  
  
setElementData (hillRadar, "zombieProof", true) 
  
  
function enterZone(hitPlayer,thePlayer) 
local gang = getElementModel (hitPlayer) 
 if  getElementData(hitPlayer,"gang") == "Z.S.G" then 
    toggleControl (hitPlayer, "fire", true ) 
    toggleControl (hitPlayer, "aim_weapon", true) 
    toggleControl (hitPlayer, "vehicle_fire", true) 
    outputChatBox ( "#3399FF[ #FFCC00BASE #3399FF]Entraste a la base ZS~Gamers", hitPlayer, 255, 255, 255, true ) 
       else 
         killPed (hitPlayer) 
end 
end 
addEventHandler( "onColShapeHit", hillArea, enterZone ) 
  
  
function enterZone2(hitPlayer,thePlayer) 
local gang = getElementModel (hitPlayer) 
 if  getElementData(hitPlayer,"gang") == "Z.S.G" then 
    toggleControl (hitPlayer, "fire", true ) 
    toggleControl (hitPlayer, "aim_weapon", true) 
    toggleControl (hitPlayer, "vehicle_fire", true) 
    outputChatBox ( "#3399FF[#FFCC00BASE#3399FF]Saliste de la base ZS~Gamers", hitPlayer, 255, 255, 255, true ) 
       else 
         killPed (hitPlayer) 
end 
end 
addEventHandler( "onColShapeLeave", hillArea, enterZone2 ) 

Link to comment
  • MTA Team

Men debes asignar el zombieProof al ColRectangle, no al Radar area... ._.

Seria:

local hillArea = createColRectangle ( -3298.0908203125, 357.818359375, 200, 210 ) 
local hillRadar = createRadarArea ( -3298.0908203125, 357.818359375, 400, 210, 0, 0, 0, 250 ) 
  
  
setElementData (hillArea, "zombieProof", true) 

Saludos

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...