Scripting/Squirrel/Functions/SetWastedSettings

From Vice City Multiplayer
Revision as of 16:11, 1 November 2014 by Ysc3839 (talk | contribs) (Created page with "This function will set the appearence when player dying. == Syntax == <pre>SetWastedSettings( deathTime, fadeTime, fadeInSpeed, fadeOutSpeed, colour, corpseFadeDelay, corpse...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

This function will set the appearence when player dying.

Syntax

SetWastedSettings( deathTime, fadeTime, fadeInSpeed, fadeOutSpeed, colour, corpseFadeDelay, corpseFadeTime )

Arguments

  • int deathTime - The death time
  • int fadeTime - The fade time
  • float fadeInSpeed - The fade in speed
  • float fadeOutSpeed - The fade out speed
  • RGB colour - The colour
  • int corpseFadeDelay
  • int corpseFadeTime


Example

The following example disabled the wasted screen

function onScriptLoad()
{
 SetWastedSettings( 0, 0, 0, 0, RGB(0,0,0), 0, 0)
}

Notes

Call onScriptLoad were used in this example. More info about them in the corresponding pages.

Related Functions