Scripting/Squirrel/Client Functions/Console::Print: 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
(This example prins "Script unloaded" when scripts have unloaded.)
 
(This example prins "Script unloaded" when scripts have unloaded.)
Line 1: Line 1:
function Script::ScriptUnload()
[code]function Script::ScriptUnload()
{
{
     PrintTheDrop()
     PrintTheDrop()
Line 6: Line 6:
{
{
     Console.Print("Script unloaded!") //console::print
     Console.Print("Script unloaded!") //console::print
}
}[/code]

Revision as of 18:08, 6 July 2016

[code]function Script::ScriptUnload() {

   PrintTheDrop()

} function PrintTheDrop() {

   Console.Print("Script unloaded!") //console::print

}[/code]