Thank FaTony, this gonna take log way. Is the file is automatically created or i need to manually create 1?
Yay.. she say undefined symbol path on the OpenFile things.
PHP Code:
public OnConfigsExecuted()
{
if ( !FileExists( "addons/sourcemod/data/l4d2_luffy_rpg.txt" ))
{
decl String:path[256];
BuildPath( Path_SM, path, sizeof( path ), "data/l4d2_luffy_rpg.txt");
ServerCommand( "clear" );
PrintToServer( "[LUFFY]: File path created: addons/sourcemod/data/l4d2_luffy.txt" );
}
new Handle:p_Handle = OpenFile( path, "w+" );
}
EDIT: Sorry my bad.. its inside the jailll.. that y..
EDIT EDIT: okay 1st step done.. how can i write down player data in there? say i wan to save number or anyting and save it forever. I m looking at
exvel save score plugin but i dont understand it. I don wan copy paste, i wan to understand and produce mine.
__________________