View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-06-2008 , 10:45   Re: Advanced Fog 0.7
Reply With Quote #4

Oh, you have finaly found what the last params in this event do. ^^

EDIT : Oosp It was MPNumb ( here )


By the way, get_user_msgid("Fog") should be store in a global var.

And instead of checking <0 and >255 + message, you can use directly clamp(), something like : = clamp ( str_to_num(rgb[i]), 0, 255 );. Oh well, your method is perfectly fine too.
__________________

Last edited by Arkshine; 08-06-2008 at 10:49.
Arkshine is offline