0 Members and 1 Guest are viewing this topic.
var alpha_players:string;alpha_players := alpha_players+idtoname(i)+' ('+inttostr(getplayerstat(i,'kills'))+'/'+inttostr(getplayerstat(i,'deaths'))+', F:'+inttostr(getplayerstat(i,'flags')+'); ';
This should be working:I do not even know why that should have been working in the older script core. Something like what you typed above works in newer programming languages, but you have to turn your integer values to string values to save them in 'alpha_players'
@No-Mercy: Yes, I must update publictools and stats with rank. The issue lies in rate. I think that, make it to the end of the week.
I wish we could choose between old and 'new' scriptcore
It wasn't desired. Report it on mantis maybe so i don't forget about it.
there's this little problem with displaying statistics with too many zeros
FloattoStr(RoundTo(100 * Total / NumPlayers, 2))FormatFloat('value',code)FormatFloat('00',RoundTo(100 * Total / NumPlayers, 2))
For those who still have problems with this:Example:Code: [Select]FloattoStr(RoundTo(100 * Total / NumPlayers, 2))FormatFloat('value',code)FormatFloat('00',RoundTo(100 * Total / NumPlayers, 2))
FormatFloat('##0.##',100.00 * Total / NumPlayers);