AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   loading from file tag mistach (https://forums.alliedmods.net/showthread.php?t=178923)

tuty 02-23-2012 08:27

loading from file tag mistach
 
i have a annoying error wich is pissing me out!

Code:
//global new gHatGlowColor[ MAX_HATS ][ iRgb ]; parse( szGlowData, iColor[ 0 ], sizeof iColor[ ] - 1, iColor[ 1 ], sizeof iColor[ ] - 1, iColor[ 2 ], sizeof iColor[ ] - 1 );                 gHatGlowColor[ gHatsNum ][ r ] = clamp( str_to_num( iColor[ 0 ], 255 ) );         gHatGlowColor[ gHatsNum ][ g ] = clamp( str_to_num( iColor[ 1 ], 255 ) );           gHatGlowColor[ gHatsNum ][ b ] = clamp( str_to_num( iColor[ 2 ], 255 ) );             gHatsNum++;

error comes at those tree lines after "parsing"

anakin_cstrike 02-23-2012 08:34

Re: loading from file tag mistach
 
PHP Code:

clamp wichvalueminvaluemaxvalue 


tuty 02-23-2012 08:40

Re: loading from file tag mistach
 
Quote:

Originally Posted by anakin_cstrike (Post 1655714)
PHP Code:

clamp wichvalueminvaluemaxvalue 


omfg ...... what the hell should i say? I TOTALLY FORGOT THAT NATIVE HAS 3 FUCKING PARAMETERS


All times are GMT -4. The time now is 19:06.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.