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
(- onPickupPickedUp - It is a function that is called when a player picks up a pickup.It doesn't matter what the pickup's ID is.As long as it's a pickup this function will be called.)
 
No edit summary
 
(5 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");
== 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