Scripting/Squirrel/Client Events/Script::ScriptProcess: 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
(Created page with "This event is called when a player dies. == Syntax == <pre>player - The instance.</pre> == Arguments == None. == Example == This message is in 3D in a map position <code...")
(No difference)

Revision as of 22:09, 8 May 2017

This event is called when a player dies.

Syntax

player - The instance.

Arguments

None.

Example

This message is in 3D in a map position

dx3DTextdrawPos <- GUI.WorldPosToScreen( Vector( 497.132, -85.3217, 10.0307 ) ); dxText <- null; function Script::ScriptProcess() {

dx3DTextdrawPos = GUI.WorldPosToScreen( Vector( 497.132, -85.3217, 10.0307 ) );
dxText = GUILabel( VectorScreen( dx3DTextdrawPos.X, dx3DTextdrawPos.Y ), Colour( 255, 255, 0, 255 ), "Hello wolrd" );
dxText.FontSize = 20;

}

}