Scripting/Squirrel/Functions/Player.UniqueWorld: 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 "This will return a special world ID for a player == Syntax == <pre>Player.UniqueWorld</pre> == Example == <source lang=squirrel> function OnPlayerCommand( player,cmd , text ...") |
(No difference)
|
Revision as of 19:51, 17 October 2014
This will return a special world ID for a player
Syntax
Player.UniqueWorld
Example
function OnPlayerCommand( player,cmd , text )
if ( cmd == "sound" )
{
PlaySound( player.UniqueWorld , 30 , player.Pos );
}