Scripting/Squirrel/Functions/NewTimer: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== Syntax == <pre>NewTimer( "ClientMessageToAll", 1000, 1, "TEST NEW TIMER",28, 255, 11 );</pre> function onPlayerCommand( player, cmd, text ); if ( cmd == "count" ) { Me...") |
(→Syntax) |
||
Line 2: | Line 2: | ||
<pre>NewTimer( "ClientMessageToAll", 1000, 1, "TEST NEW TIMER",28, 255, 11 );</pre> | <pre>NewTimer( "ClientMessageToAll", 1000, 1, "TEST NEW TIMER",28, 255, 11 );</pre> | ||
<source lang=squirrel> | |||
function onPlayerCommand( player, cmd, text ); | function onPlayerCommand( player, cmd, text ); | ||
if ( cmd == "count" ) | if ( cmd == "count" ) |
Revision as of 08:31, 25 July 2014
Syntax
NewTimer( "ClientMessageToAll", 1000, 1, "TEST NEW TIMER",28, 255, 11 );
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 );
}