Template:Pickup functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Rework)
m (usePickup is server-side only)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
     <li>[[isPickupSpawned]]</li>
     <li>[[isPickupSpawned]]</li>
     <li>[[setPickupRespawnInterval]]</li>
     <li>[[setPickupRespawnInterval]]</li>
     }}
     <li>[[usePickup]]</li>
   }}
   }}
</br>
</br>
Line 21: Line 21:
<li>[[setPickupType]]</li>
<li>[[setPickupType]]</li>
<li>[[getPickupWeapon]]</li>
<li>[[getPickupWeapon]]</li>
<li>[[usePickup]]</li>
</ul>
</ul>
</includeonly>
</includeonly>

Latest revision as of 14:43, 24 October 2024


The template contains a list of functions. It accepts 1 parameter, which specifies whether the functions should be displayed for server or client. Regardless of the parameter, a list of shared functions will also be displayed

Example: {{Camera functions|client}} will display a list of client-side functions, and below it a list of shared functions, similarly for the server.