mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
2.5.7a Final Changes
fix spelling mistake add missing optional native tabify spaces
This commit is contained in:
parent
bb19d91734
commit
7567cde52d
@ -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
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user