Difference between revisions of "Manual:DIL Manual/paycheck()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bfpaychk"></span> | ||
| + | integer paycheck( u1 : unitptr, u2:unitptr) | ||
| + | u1 : unit to check against | ||
| + | u2 : player to check access for | ||
| + | return: TRUE if the player u2 has pay access to the location | ||
| + | in which the unit u1 is located. FALSE if the player does not | ||
| + | have access. Using non-players as u2 will return TRUE. The | ||
| + | function checks if the player has pay-access (if needed) to | ||
| + | the zone in which u1 is located. | ||
| − | + | ---~---~---~---~---~---~---~---~--- | |
<span id="bfpaychk"></span> | <span id="bfpaychk"></span> | ||
integer paycheck( u1 : unitptr, u2:unitptr) | integer paycheck( u1 : unitptr, u2:unitptr) | ||
Latest revision as of 22:30, 4 December 2025
integer paycheck( u1 : unitptr, u2:unitptr) u1 : unit to check against u2 : player to check access for return: TRUE if the player u2 has pay access to the location in which the unit u1 is located. FALSE if the player does not have access. Using non-players as u2 will return TRUE. The function checks if the player has pay-access (if needed) to the zone in which u1 is located.
---~---~---~---~---~---~---~---~---
integer paycheck( u1 : unitptr, u2:unitptr) u1 : unit to check against u2 : player to check access for return: TRUE if the player u2 has pay access to the location in which the unit u1 is located. FALSE if the player does not have access. Using non-players as u2 will return TRUE. The function checks if the player has pay-access (if needed) to the zone in which u1 is located.
---~---~---~---~---~---~---~---~---