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.)
 
(-Message = Used to Send a message to every online player of the server.)
Line 1: Line 1:
onPickupPickedUp( player, pickup )
onPickupPickedUp( player, pickup )
{
{
Message( player.Name + "picked up a pickup");
Message( player.Name + "picked up a pickup ID : " + pickup.ID);
}
}

Revision as of 18:00, 8 August 2014

onPickupPickedUp( player, pickup ) { Message( player.Name + "picked up a pickup ID : " + pickup.ID); }