Scripting/Squirrel/Functions/Pickup.ID: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(-Message = Used to Send a message to every online player of the server.)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
onPickupPickedUp( player, pickup )
This function will return a pickup's ID.
{
 
Message( player.Name + "picked up a pickup ID : " + pickup.ID);
== Syntax ==
}
<pre>Pickup.ID</pre>
 
== Arguments ==
 
*''instance'' '''pickup''' - The pickup to get the ID from
 
== Example ==
 
{{Scripting/Needs_Example}}
 
=== Notes ===
 
== Related Functions ==
 
{{Scripting/Squirrel/Functions/Pickup_Functions}}
[[Category:Scripting/Squirrel/Functions/Pickup_Functions]]

Latest revision as of 18:37, 30 January 2017

This function will return a pickup's ID.

Syntax

Pickup.ID

Arguments

  • instance pickup - The pickup to get the ID from

Example

This page needs an example. We will try our best to complete the wiki as soon as possible.

Notes

Related Functions