Phasor
01.00.10.059
|
Describes some of the important changes to the scripting system. More...
Go to the source code of this file.
Describes some of the important changes to the scripting system.
Note: When I say "raise an error" it means that an error will be raised, and this error will be treated in the same way as other Lua errors. The calling function will get blacklisted.
Deprecated (removed) functions:
gettoken
, gettokencount
, getcmdtoken
and getcmdtokencount
have been removed.tokenizestring
and tokenizecmdstring
respectively.Changed functions:
hprintf
no longer sends console text to the player executing rcon.respond
to reply to rcon events.sendconsoletext
and therefore still works.getplayer
will raise an error if you pass an invalid player.getplayer
, which returns nil
if they don'tgetobject
will raise an error if you pass an invalid object.OnPlayerJoin
no longer receives the player's team.lookuptag
has been deprecated.gettagid
to get the tag id, or gettagaddress
for lookuptag's
old functionality.