#Al-Ha[J]aRii Posted February 3, 2013 Share Posted February 3, 2013 ويش الخطاء في الكود ؟ theZone = false function shapeHit ( thePlayer ) outputChatBox ( "string getPlayerName ( player thePlayer ')''is' in the zone!" ), getRootElement(), 255, 255, 255, true )) function setZone ( playerSource, commandName, fX, fY, fZ ) if ( fZ and fY and fX ) then local tempCol =colshape createColCuboid (" float X, float Y, float Z, float 10.0, float 10.0, float 10.0 ")' if ( tempCol == false ) then function Syntax ( sourcePlayer, command ) outputConsole ( "element set_zone " )=getRootElement() ] ) if ( 'theZone' ~= false ) then destroyElement ( thezone 'elementToDestroy' ) addEventHandler (string "onColShapeHit", element thezone, function shapehit, [ bool getPropagated = true, string priority = "normal" ] ) theZone = tempCol outputChatBox ( "Zone has moved!" ) [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] end end end addCommandHandler ("set_zone", function ("setZone", '[ restricted = false, bool caseSensitive = true] )' Link to comment
TAPL Posted February 3, 2013 Share Posted February 3, 2013 ويش الخطاء في الكود ؟ theZone = false function shapeHit ( thePlayer ) outputChatBox ( "string getPlayerName ( player thePlayer ')''is' in the zone!" ), getRootElement(), 255, 255, 255, true )) function setZone ( playerSource, commandName, fX, fY, fZ ) if ( fZ and fY and fX ) then local tempCol =colshape createColCuboid (" float X, float Y, float Z, float 10.0, float 10.0, float 10.0 ")' if ( tempCol == false ) then function Syntax ( sourcePlayer, command ) outputConsole ( "element set_zone " )=getRootElement() ] ) if ( 'theZone' ~= false ) then destroyElement ( thezone 'elementToDestroy' ) addEventHandler (string "onColShapeHit", element thezone, function shapehit, [ bool getPropagated = true, string priority = "normal" ] ) theZone = tempCol outputChatBox ( "Zone has moved!" ) [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] end end end addCommandHandler ("set_zone", function ("setZone", '[ restricted = false, bool caseSensitive = true] )' ههههههههه مسوي هريسه تراه ذا مثال الويكي و أنت حاط فيه هريس و بيض و جبن و ملح و سكر و كبسه و عصير و هندي ميت هههههههههههه https://wiki.multitheftauto.com/wiki/CreateColCuboid Link to comment
jafar Posted February 3, 2013 Share Posted February 3, 2013 ويش الخطاء في الكود ؟ theZone = false function shapeHit ( thePlayer ) outputChatBox ( "string getPlayerName ( player thePlayer ')''is' in the zone!" ), getRootElement(), 255, 255, 255, true )) function setZone ( playerSource, commandName, fX, fY, fZ ) if ( fZ and fY and fX ) then local tempCol =colshape createColCuboid (" float X, float Y, float Z, float 10.0, float 10.0, float 10.0 ")' if ( tempCol == false ) then function Syntax ( sourcePlayer, command ) outputConsole ( "element set_zone " )=getRootElement() ] ) if ( 'theZone' ~= false ) then destroyElement ( thezone 'elementToDestroy' ) addEventHandler (string "onColShapeHit", element thezone, function shapehit, [ bool getPropagated = true, string priority = "normal" ] ) theZone = tempCol outputChatBox ( "Zone has moved!" ) [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] end end end addCommandHandler ("set_zone", function ("setZone", '[ restricted = false, bool caseSensitive = true] )' ههههههههه مسوي هريسه تراه ذا مثال الويكي و أنت حاط فيه هريس و بيض و جبن و ملح و سكر و كبسه و عصير و هندي ميت هههههههههههه https://wiki.multitheftauto.com/wiki/CreateColCuboid Link to comment
SaRy,#DanGer Posted February 3, 2013 Share Posted February 3, 2013 ههههههههههههههههههه Link to comment
#Al-Ha[J]aRii Posted February 3, 2013 Author Share Posted February 3, 2013 ويش الخطاء في الكود ؟ theZone = false function shapeHit ( thePlayer ) outputChatBox ( "string getPlayerName ( player thePlayer ')''is' in the zone!" ), getRootElement(), 255, 255, 255, true )) function setZone ( playerSource, commandName, fX, fY, fZ ) if ( fZ and fY and fX ) then local tempCol =colshape createColCuboid (" float X, float Y, float Z, float 10.0, float 10.0, float 10.0 ")' if ( tempCol == false ) then function Syntax ( sourcePlayer, command ) outputConsole ( "element set_zone " )=getRootElement() ] ) if ( 'theZone' ~= false ) then destroyElement ( thezone 'elementToDestroy' ) addEventHandler (string "onColShapeHit", element thezone, function shapehit, [ bool getPropagated = true, string priority = "normal" ] ) theZone = tempCol outputChatBox ( "Zone has moved!" ) [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] end end end addCommandHandler ("set_zone", function ("setZone", '[ restricted = false, bool caseSensitive = true] )' ههههههههه مسوي هريسه تراه ذا مثال الويكي و أنت حاط فيه هريس و بيض و جبن و ملح و سكر و كبسه و عصير و هندي ميت هههههههههههه https://wiki.multitheftauto.com/wiki/CreateColCuboid مادري واحد سواه لي يقول لي لان كود زون Link to comment
#Al-Ha[J]aRii Posted February 3, 2013 Author Share Posted February 3, 2013 ويش الخطاء في الكود ؟ theZone = false function shapeHit ( thePlayer ) outputChatBox ( "string getPlayerName ( player thePlayer ')''is' in the zone!" ), getRootElement(), 255, 255, 255, true )) function setZone ( playerSource, commandName, fX, fY, fZ ) if ( fZ and fY and fX ) then local tempCol =colshape createColCuboid (" float X, float Y, float Z, float 10.0, float 10.0, float 10.0 ")' if ( tempCol == false ) then function Syntax ( sourcePlayer, command ) outputConsole ( "element set_zone " )=getRootElement() ] ) if ( 'theZone' ~= false ) then destroyElement ( thezone 'elementToDestroy' ) addEventHandler (string "onColShapeHit", element thezone, function shapehit, [ bool getPropagated = true, string priority = "normal" ] ) theZone = tempCol outputChatBox ( "Zone has moved!" ) [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] end end end addCommandHandler ("set_zone", function ("setZone", '[ restricted = false, bool caseSensitive = true] )' ههههههههه مسوي هريسه تراه ذا مثال الويكي و أنت حاط فيه هريس و بيض و جبن و ملح و سكر و كبسه و عصير و هندي ميت هههههههههههه https://wiki.multitheftauto.com/wiki/CreateColCuboid مو انا امسويه واحد سواه او قال لي هذه كود ض1 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