Files
assaultcube-/config/compatibility.cfg
T
Bukz 05d2fd4939 Changing many built-in script aliases to constants.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6591 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-17 12:33:02 +00:00

12 lines
522 B
INI

// Makes old cubescripts compatible with newer versions of the game
const curmode [ result $gamemode ]
const getclientmode [ result $gamemode ]
const curteam [ if (&& $numargs (isclient $arg1)) [ result (player $arg1 team) ] [ result (player1 team) ] ]
const pstat_score [
if (isclient $arg1) [
result (concat (player $arg1 flags) (player $arg1 frags) (player $arg1 deaths) (player $arg1 points) (player $arg1 team) (player $arg1 tks) (findpn $arg1))
] [ result (concat "0 0 0 0 -1 0" (addpunct)) ]
]