Quote:
Originally Posted by OciXCrom
PHP Code:
new szBuffer[ 64 ] ;
formatex( szBuffer, charsmax( szBuffer ), "models/player/%s/%s.mdl", g_szModel ) ;
|
64 is
MORE than enough.
models/player//.mdl
19 Chars.
It means there's 45 Chars left / 2 = 22.5 ~ 22 for each Model name.
Quote:
Originally Posted by OciXCrom
[php]new szBuffer[ 64 ] ;
Missing another g_szModel in the end + 64 isn't enough.
* *
|
It's okay like that, it will automatically choose the first one for both, someone already tested it in another plugin that I made for him.
@Restart test the code I gave you.
__________________