Pickup::Pickup: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 2: Line 2:
{{ServersideJsFunction}}
{{ServersideJsFunction}}
Creates a new Pickup.
Creates a new Pickup.
*'''[https://wiki.rage.mp/index.php?title=Pickups Pickups list]'''


*'''[https://wiki.rage.mp/index.php?title=Pickups Pickups list]'''


==Syntax==
{{JSContainer|
<pre>
<pre>There is a shell "mp.pickups", but for some reason such a function does not exist in the list of functions of this shell:
There is a shell "mp.pickups", but for some reason such a function does not exist in the list of functions of this shell:
mp.pickups.new();</pre>
mp.pickups.new();
<pre>There is also such a function in the "mp.pickups" shell, but unfortunately it also does not accept any parameters for implementation:
</pre>
mp.pickups._new();</pre>
<pre>
}}
There is also such a function in the "mp.pickups" shell, but unfortunately it also does not accept any parameters for implementation:
mp.pickups._new();
</pre>
All this on multiplayer server version 1.1
All this on multiplayer server version 1.1
Checked by "Leinader"
Checked by "Leinader"

Revision as of 09:48, 15 August 2021

Server-Side
Function

 JavaScript



Creates a new Pickup.


JavaScript Syntax

There is a shell "mp.pickups", but for some reason such a function does not exist in the list of functions of this shell:
 mp.pickups.new();
There is also such a function in the "mp.pickups" shell, but unfortunately it also does not accept any parameters for implementation:
 mp.pickups._new();


All this on multiplayer server version 1.1

Checked by "Leinader"