server->sendPubChan(IRCCOLOR"13[Aimbot]"IRCCOLOR" %.*s was banned from the server! Kills: %u - Deaths: %u - Headshots: %u",player->name.size(),player->name.ptr(),player->kills,player->deaths,player->headshots);
server->sendAdmChan(IRCCOLOR"13[Aimbot]"IRCCOLOR" %.*s was banned from the server! Kills: %u - Deaths: %u - Headshots: %u - IP: "IRCBOLD"%.*s"IRCBOLD" - Steam ID: "IRCBOLD"%.*s"IRCBOLD,player->name.size(),player->name.ptr(),player->kills,player->deaths,player->headshots,player->ip.size(),player->ip.ptr(),player->steamid.size(),player->steamid.ptr());
server->sendAdmChan(IRCCOLOR"13[Aimbot]"IRCCOLOR" %.*s was banned from the server! Kills: %u - Deaths: %u - Headshots: %u - IP: "IRCBOLD"%.*s"IRCBOLD" - Steam ID: "IRCBOLD"%llx"IRCBOLD,player->name.size(),player->name.ptr(),player->kills,player->deaths,player->headshots,player->ip.size(),player->ip.ptr(),player->steamid);
server->sendPubChan(IRCCOLOR"12[Join]"IRCCOLOR"%.*s "IRCBOLD"%.*s"IRCBOLD" joined the game fighting for the %.*s!",teamColor.size(),teamColor.ptr(),player->name.size(),player->name.ptr(),teamName.size(),teamName.ptr());
if(player->steamid.isEmpty())
if(player->steamid==0)
server->sendAdmChan(IRCCOLOR"12[Join]"IRCCOLOR"%.*s "IRCBOLD"%.*s"IRCBOLD" joined the game fighting for the %.*s from "IRCBOLD"%.*s"IRCBOLD", but is not using Steam.",teamColor.size(),teamColor.ptr(),player->name.size(),player->name.ptr(),teamName.size(),teamName.ptr(),player->ip.size(),player->ip.ptr());
else
server->sendAdmChan(IRCCOLOR"12[Join]"IRCCOLOR"%.*s "IRCBOLD"%.*s"IRCBOLD" joined the game fighting for the %.*s from "IRCBOLD"%.*s"IRCBOLD" using Steam ID "IRCBOLD"%.*s"IRCBOLD".",teamColor.size(),teamColor.ptr(),player->name.size(),player->name.ptr(),teamName.size(),teamName.ptr(),player->ip.size(),player->ip.ptr(),player->steamid.size(),player->steamid.ptr());
server->sendAdmChan(IRCCOLOR"12[Join]"IRCCOLOR"%.*s "IRCBOLD"%.*s"IRCBOLD" joined the game fighting for the %.*s from "IRCBOLD"%.*s"IRCBOLD" using Steam ID "IRCBOLD"%llx"IRCBOLD".",teamColor.size(),teamColor.ptr(),player->name.size(),player->name.ptr(),teamName.size(),teamName.ptr(),player->ip.size(),player->ip.ptr(),player->steamid);
server->sendMessage(Jupiter::StringS::Format("%.*s has been recommended for destroying the %.*s!",player->name.size(),player->name.ptr(),translated.size(),translated.ptr()));
@ -203,13 +203,13 @@ void RecsGameCommand::trigger(RenX::Server *source, RenX::PlayerInfo *player, co
source->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: Player not found! Syntax: recs [player]"));
// Check INI?
}
elseif(target->steamid.size()==0)
elseif(target->uuid.isEmpty())
source->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: Player is not using steam."));
elsesource->sendMessage(Jupiter::StringS::Format("%.*s has %lu and %lu n00bs. Their worth: %d",target->name.size(),target->name.ptr(),getRecs(target),getNoobs(target),getWorth(target)));
}
elseif(player->steamid.size()==0)
elseif(player->uuid.isEmpty())
source->sendMessage(player,STRING_LITERAL_AS_REFERENCE("Error: You are not using steam."));
elsesource->sendMessage(Jupiter::StringS::Format("%.*s, you have %lu and %lu n00bs. Your worth: %d",player->name.size(),player->name.ptr(),getRecs(player),getNoobs(player),getWorth(player)));
}
@ -236,7 +236,7 @@ void RecGameCommand::trigger(RenX::Server *source, RenX::PlayerInfo *player, con
source->sendMessage(player,Jupiter::StringS::Format("%.*s, your join message is now: %.*s",player->name.size(),player->name.ptr(),parameters.size(),parameters.ptr()));