string spritelookuptext(string s)
{
if(substring(s, 0, 4) == "wpn-")
- {
- print(s, "\n");
return (get_weaponinfo(stof(substring(s, 4, strlen(s)))).message);
- }
switch(s)
{
if(rgb == '0 0 0')
{
self.teamradar_color = '1 0 1';
- print(sprintf("WARNING: sprite of name %s has no color, using pink so you notice it\n", spriteimage));
+ printf("WARNING: sprite of name %s has no color, using pink so you notice it\n", spriteimage);
}
if(time - floor(time) > 0.5)