Posted By: sheefo
str_for_entfile - 08/12/07 16:24
Is it possible to make "entity->type" or "str_for_entfile" return the name of the MDL file in it's real case, or will this conflict with some internal functions? I guess if someone needs it in uppercase they can just use "str_upr(str)".
Example of what I mean:
NOW:
Code:
FUTURE:
Code:
Example of what I mean:
NOW:
Code:
printf(entity->type); //=> SUPPLY_TRUCK.MDL
FUTURE:
Code:
printf(entity->type); //=> Supply_Truck.mdl

