return;
}
+ if(uid2name(myuid) == "^1Unregistered Player")
+ {
+ if(showmessage)
+ Send_Notification(NOTIF_ALL, NULL, MSG_INFO, INFO_RACE_NEW_MISSING_NAME, mynetname, t);
+ return;
+ }
+
oldrec = race_readTime(GetMapname(), newpos);
oldrec_holder = race_readName(GetMapname(), newpos);
t += e.race_penalty_accumulator;
t = TIME_ENCODE(t); // make integer
- // adding just 0.4 so it rounds down in the .5 case (matching the timer display)
if(tvalid)
if(cp == race_timed_checkpoint) // finish line
void checkpoint_passed(entity this, entity player)
{
+ if(player.personal && autocvar_g_allow_checkpoints)
+ return; // practice mode!
+
string oldmsg;
entity cp;