skybad Posted February 19, 2015 Share Posted February 19, 2015 On this line "outputChatBox ("Este local é Radioativo, recomenda-se uso de roupa especial!",hitElement,255,255,255,true)" When the player enter in the area the outputChatBox doesn't work local colradiat = createColCuboid(1648.9276, 2820.2937, -31.4780, 805.5, 581, 90) local zoneeeeee = createRadarArea (1648.9276, 2820.2937, 805.5, 581, 255,0,0, 255 ) local player = getLocalPlayer() function onPlayerIntroareaRadiativa(theElement) if theElement == getLocalPlayer() then outputChatBox ("Este local é Radioativo, recomenda-se uso de roupa especial!",hitElement,255,255,255,true) triggerEvent("vignetTte", getLocalPlayer()) playerentro = true end end addEventHandler("onClientColShapeHit", colradiat, onPlayerIntroareaRadiativa) Link to comment
AMARANT Posted February 19, 2015 Share Posted February 19, 2015 local colradiat = createColCuboid(1648.9276, 2820.2937, -31.4780, 805.5, 581, 90) local zoneeeeee = createRadarArea (1648.9276, 2820.2937, 805.5, 581, 255,0,0, 255 ) local player = getLocalPlayer() function onPlayerIntroareaRadiativa(theElement) if theElement == getLocalPlayer() then outputChatBox ("Este local é Radioativo, recomenda-se uso de roupa especial!",255,255,255,true) triggerEvent("vignetTte", getLocalPlayer()) playerentro = true end end addEventHandler("onClientColShapeHit", colradiat, onPlayerIntroareaRadiativa) Link to comment
skybad Posted February 19, 2015 Author Share Posted February 19, 2015 Thanks it's working Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now