sprint

From Quake Wiki

Revision as of 17:47, 2 May 2015 by Spirit (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:[edit]

void sprint(entity client, string s)

Sends text to a single player. This is used by items to display pickup text. client must be a player. It is, essentially, a MSG_ONE SVC_PRINT. Like bprint the function can be overloaded to support several string parameters.

Parameters:[edit]

client - The client to print the string to.
s - The string to print.

Returns:[edit]

void

Example[edit]

sprint(self, self.netname);