Difference between revisions of "Centerprint"

From QuakeQEWiki
Jump to navigation Jump to search
m (Added to "Quake-C Builtins" category)
Line 4: Line 4:
defs.qc declaration
defs.qc declaration
  void(entity client, string s, optional string s1, optional string s2, optional string s3, optional string s4, optional string s5, optional string s6, optional string s7) centerprint = #73;    // sprint, but in middle
  void(entity client, string s, optional string s1, optional string s2, optional string s3, optional string s4, optional string s5, optional string s6, optional string s7) centerprint = #73;    // sprint, but in middle
[[Category:Quake-C Builtins]]

Revision as of 12:55, 16 February 2022

Centerprint is a quake c function that allows the programmer to display some aligned to the center of the screen


defs.qc declaration

void(entity client, string s, optional string s1, optional string s2, optional string s3, optional string s4, optional string s5, optional string s6, optional string s7) centerprint = #73;    // sprint, but in middle