2.5.7a Final Changes

fix spelling mistake
add missing optional native
tabify spaces
This commit is contained in:
KiD Fearless 2020-07-06 20:13:36 -06:00
parent bb19d91734
commit 7567cde52d
2 changed files with 21 additions and 18 deletions

View File

@ -1906,8 +1906,9 @@ public void __pl_shavit_SetNTVOptional()
MarkNativeAsOptional("Shavit_GetCurrentCheckpoint");
MarkNativeAsOptional("Shavit_SetCurrentCheckpoint");
MarkNativeAsOptional("Shavit_GetPlayerPreFrame");
MarkNativeAsOptional("Shavit_GetPlayerTimerframe");
MarkNativeAsOptional("Shavit_GetPlayerTimerFrame");
MarkNativeAsOptional("Shavit_SetPlayerPreFrame");
MarkNativeAsOptional("Shavit_GetClosestReplayTime");
MarkNativeAsOptional("Shavit_SetPlayerTimerFrame");
}
#endif

View File

@ -1881,21 +1881,23 @@ void GetTrackName(int client, int track, char[] output, int size)
void PrintCSGOHUDText(int client, const char[] format, any ...)
{
char buff[MAX_HINT_SIZE];
VFormat(buff, sizeof(buff), format, 3);
Format(buff, sizeof(buff), "</font>%s ", buff);
for(int i = strlen(buff); i < sizeof(buff); i++)
buff[i] = '\n';
Protobuf pb = view_as<Protobuf>(StartMessageOne("TextMsg", client, USERMSG_RELIABLE | USERMSG_BLOCKHOOKS));
pb.SetInt("msg_dst", 4);
pb.AddString("params", "#SFUI_ContractKillStart");
pb.AddString("params", buff);
pb.AddString("params", NULL_STRING);
pb.AddString("params", NULL_STRING);
pb.AddString("params", NULL_STRING);
pb.AddString("params", NULL_STRING);
EndMessage();
char buff[MAX_HINT_SIZE];
VFormat(buff, sizeof(buff), format, 3);
Format(buff, sizeof(buff), "</font>%s ", buff);
for(int i = strlen(buff); i < sizeof(buff); i++)
{
buff[i] = '\n';
}
Protobuf pb = view_as<Protobuf>(StartMessageOne("TextMsg", client, USERMSG_RELIABLE | USERMSG_BLOCKHOOKS));
pb.SetInt("msg_dst", 4);
pb.AddString("params", "#SFUI_ContractKillStart");
pb.AddString("params", buff);
pb.AddString("params", NULL_STRING);
pb.AddString("params", NULL_STRING);
pb.AddString("params", NULL_STRING);
pb.AddString("params", NULL_STRING);
EndMessage();
}