JuakoKIIL Posted June 23, 2012 Share Posted June 23, 2012 (edited) pero el safeZoneRadar = createRadarArea ( 661.65600585938, -2784.9812011719, 220, 200, 0, 255, 0, 100 ) [url=http://www.game-state.eu][img=http://www.game-state.eu/190.209.65.71:22003/mta/FFFFFF/F09724/560x95.png][/url] Edited June 24, 2012 by Guest Link to comment
JuakoKIIL Posted June 23, 2012 Share Posted June 23, 2012 No me funciono te dejo con lo ke edite safecol = createColCuboid ( 2.6025390625, -347.607421875, 6.9078125953674, 220, 200, 60 ) safeZoneRadar = createRadarArea ( 661.65600585938, -2784.9812011719, 220, 200, 0, 255, 0, 100 ) Link to comment
JuakoKIIL Posted June 25, 2012 Share Posted June 25, 2012 AYUDA X FAVOR DE VERDAD NECESITO LA BASE Link to comment
BorderLine Posted June 25, 2012 Share Posted June 25, 2012 safecol = createColCuboid ( 2.6025390625, -347.607421875, 6.9078125953674, 220, 200, 60 ) safeZoneRadar = createRadarArea ( 2.6025390625, -347.607421875, 220, 200, 0, 255, 0, 100 ) setElementData (safecol, "zombieProof", true) function enterZone( hitElement, matchingDimension) if getElementType(hitElement) == "ped" then killPed(hitElement) end end addEventHandler( "onColShapeHit", safecol, enterZone ) Intenta eso Link to comment
JuakoKIIL Posted June 25, 2012 Share Posted June 25, 2012 pero una pregunta cmo hago para aumentar los skins q entran en la area sin ke los mate Link to comment
BorderLine Posted June 25, 2012 Share Posted June 25, 2012 aumentar los skins? se supone que si entra un ped muere a la zona. si no te funciona fijate bien las cordenadas Link to comment
JuakoKIIL Posted June 25, 2012 Share Posted June 25, 2012 si funciona pero solo pude entrar un solo ped q es el q tiene ke usar el player sin morir pero kiero ke entre 4 mira asi donde dice skin solo un ped puede entrar entonces yo solo kiero ke entren 4 si me ayudas te lo agradesco safecol = createColCuboid ( -29.941373825073, -347.50537109375, 5.4296875, 5000, 5000, 5000 ) safeZoneRadar = createRadarArea ( -29.941373825073, -347.50537109375, 5000, 5000, 5000, 5000, 5000 ) setElementData (safeZoneRadar, "zombieProof", true) function enterZone(hitPlayer,thePlayer) local skin = getElementModel (hitPlayer) if ( skin == 305 ) then toggleControl (hitPlayer, "fire", true ) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) outputChatBox("Entras en Area U.S.S Usar skin especial Preguntar al Jefe del Clan.", hitPlayer, 0, 255, 0) else killPed (hitPlayer) end end addEventHandler( "onColShapeHit", safecol, enterZone ) function leaveZone(hitPlayer,thePlayer) local skin = getElementModel (hitPlayer) toggleControl (hitPlayer, "fire", true) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) outputChatBox("Sales del Area U.S.S.", hitPlayer, 255, 0, 0) if not ( skin == 305 ) then killPed (hitPlayer) end end addEventHandler( "onColShapeLeave", safecol, leaveZone ) Link to comment
RekZ Posted June 26, 2012 Share Posted June 26, 2012 mejor que lo agas por ACL.. solo tiene que cambiar el "check" sino cualquiera con ese skin podra entrar... Link to comment
Simonboy Posted July 1, 2012 Share Posted July 1, 2012 yo utilizo este codigo muy sencillo y me funciona de maravilla: safecol = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) safeZoneRadar = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 255, 255, 255 ) setElementData (safeZoneRadar, "zombieProof", true) claro lo modificas a tu gusto el color y la posicion Link to comment
Recommended Posts