View Single Post
TheAvengers2
BANNED
Join Date: Jul 2011
Old 05-02-2012 , 23:18   Re: Read models in .txt
Reply With Quote #10

yeah, that's right. silly copy & paste always making problems.

edit:
Quote:
Originally Posted by rodrigo286 View Post
public OnPluginStart()
{
new String:configPath[PLATFORM_MAX_PATH];
BuildPath(Path_SM, configPath, sizeof(configPath), "configs/models.txt");

new Handle:hndl = OpenFile(configPath, "r");
decl String:sBuffer[128], String:sBufferArray[2][128];
You might want to do that as well. The evil bracket managed to escape somehow.

Last edited by TheAvengers2; 05-02-2012 at 23:32.
TheAvengers2 is offline