View Single Post
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-09-2007 , 20:20   Re: [TUT] The Use of Static Variables
Reply With Quote #19

Quote:
Originally Posted by Identity View Post
I mean, if two(or many) players connect at same time, static variable szName will be overwritten and client_print display incorrect results?
No, it won't. HL isn't multi-threaded, and even if it was, the entire function is executed at once. That can never, ever possibly happen.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552