Scripting/Squirrel/Functions/NewTimer: 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
(Replaced content with "{{Scripting/Needs_Text}} {{Scripting/Needs_Example}}")
Line 1: Line 1:
== Syntax ==
{{Scripting/Needs_Text}}


<pre>NewTimer( "ClientMessageToAll", 1000, 1, "TEST NEW TIMER",28, 255, 11 );</pre>
{{Scripting/Needs_Example}}
<source lang=squirrel>
function onPlayerCommand( player, cmd, text );
if ( cmd == "count" )
{
Message( "[#ffffff]<<<Odliczanie>>>>" );
NewTimer( "ClientMessageToAll", 1000, 1, "-> 3",28, 255, 11 );
NewTimer( "ClientMessageToAll", 2000, 1, "-> 2",24, 255, 241 );
NewTimer( "ClientMessageToAll", 3000, 1, "-> 1",249, 57, 56 );
NewTimer( "ClientMessageToAll", 4000, 1, "-----> START <------",1000, 1500, 300 );
}
 
 
</source>

Revision as of 18:57, 26 July 2014


This page needs a description, or needs a better one. Please help us complete the wiki by writing one.


This page needs an example. We will try our best to complete the wiki as soon as possible.