git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6591 e016b1c5-ed68-44aa-a2f7-31cac88cffde
12 lines
522 B
INI
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)) ]
|
|
] |