Thread
:
Programming for starters
View Single Post
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
04-28-2009 , 18:02 Re: Programming for starters
#
20
Quote:
Originally Posted by
Bugsy
You could also do:
anyColor[x] = clamp( anyColor[x] , 0 , 255 )
Clamp is a fairly simple and useful function that I dont think will confuse new scriptors.
Its not suitable for what is written now because it is a function provided by amxmodx.
__________________
My latest plugin
My plugins
joaquimandrade
View Public Profile
Send a private message to joaquimandrade
Find More Posts by joaquimandrade