I have now something like this:
if ($mta.server($1).players > $readini($scriptdir $+ recordplayers.ini,PLAYERS,players)) {
mta.text $1 We have a new record!
!writeini -n " $+ $scriptdir $+ recordplayers.ini" PLAYERS players $calc(players+1)
}
I want something like this:
if the record is 20 players and there are 20 players in the server and someone joins the server so the record becomes 21 it need to show "We have a new record!" and it need to write to the file so in the file players=21
Hope someone can help me out