User:IManGaaX: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
</div> | </div> | ||
<div style="background:#10101a; border-radius:14px; padding:18px; border:1px solid #222233; margin-bottom:20px;"> | <div style="background:#10101a; border-radius:14px; padding:18px; border:1px solid #222233; margin-bottom:20px; text-align:center;"> | ||
<span style="font-size:20px; font-weight:bold; color:#00ffa2;">My Works</span> | <span style="font-size:20px; font-weight:bold; color:#00ffa2;">My Works</span> | ||
[[table.flip]] <span style="color:gray; font-size:smaller;">» This function returns the table from the last value to the first value, such as reflection.</span> | |||
[[isLastExecuteInTimer]] <span style="color:gray; font-size:smaller;">» This function check if the execute is the last execute in the timer.</span> | |||
[[onPlayerZoneChange]] <span style="color:gray; font-size:smaller;">» This code implements an event that is triggered when the player enters a new area on the map.</span> | |||
[[getElementZoneFullName]] <span style="color:gray; font-size:smaller;">» This function allows you to retrieve the zone full name of a element.</span> | |||
[[onClientPlayerTimeChange]] <span style="color:gray; font-size:smaller;">» This code implements an event that is triggered when the player's real time change.</span> | |||
[[isPedNearbyWall]] <span style="color:gray; font-size:smaller;">» This function checks if player/ped is nearby walls like buildings or objects.</span | |||
[[dxDrawEditbox]] <span style="color:gray; font-size:smaller;">» This function draws a edit box across the screen - rendered for one frame. This should be used in conjunction with '''onClientRender''' in order to display continuously.</span> | |||
[[isPedFalling]] <span style="color:gray; font-size:smaller;">» This function checks if player/ped is falling from a high place.</span> | |||
[[table.flatten]] <span style="color:gray; font-size:smaller;">» This function converts a nested table into a flattened table with concatenated keys.</span> | |||
[[getColorName]] <span style="color:gray; font-size:smaller;">» This function retrieves the nearest color name for a given RGB value using an online API.</span> | |||
[[getClosestPoint]] <span style="color:gray; font-size:smaller;">» This function finds the closest point from a given element to a list of points in 2D space.</span> | |||
</div> | </div> | ||
Revision as of 22:13, 13 October 2025
About Me
Name: Youssef Maged
Nickname: iManGaaX
My Works
table.flip » This function returns the table from the last value to the first value, such as reflection. isLastExecuteInTimer » This function check if the execute is the last execute in the timer. onPlayerZoneChange » This code implements an event that is triggered when the player enters a new area on the map. getElementZoneFullName » This function allows you to retrieve the zone full name of a element. onClientPlayerTimeChange » This code implements an event that is triggered when the player's real time change. isPedNearbyWall » This function checks if player/ped is nearby walls like buildings or objects.</span dxDrawEditbox » This function draws a edit box across the screen - rendered for one frame. This should be used in conjunction with onClientRender in order to display continuously. isPedFalling » This function checks if player/ped is falling from a high place. table.flatten » This function converts a nested table into a flattened table with concatenated keys. getColorName » This function retrieves the nearest color name for a given RGB value using an online API. getClosestPoint » This function finds the closest point from a given element to a list of points in 2D space.